LiveIntervals: Remove assertion
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 12 Sep 2019 23:46:51 +0000 (23:46 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 12 Sep 2019 23:46:51 +0000 (23:46 +0000)
commitb85c8c4bbdedc370968865ec017eeb87cb2bc69d
tree85ca8f91a353b2f240e17e07436ef7d882ba955c
parent8382ce5f1b099e4cf8b1e15fe9efb6963740b6cc
LiveIntervals: Remove assertion

This testcase is invalid, and caught by the verifier. For the verifier
to catch it, the live interval computation needs to complete. Remove
the assert so the verifier catches this, which is less confusing.

In this testcase there is an undefined use of a subregister, and lanes
which aren't used or defined. An equivalent testcase with the
super-register shrunk to have no untouched lanes already hit this
verifier error.

llvm-svn: 371792
llvm/lib/CodeGen/LiveInterval.cpp
llvm/test/CodeGen/AMDGPU/at-least-one-def-value-assert.mir [new file with mode: 0644]