]> granicus.if.org Git - llvm/commit
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)
commitb50690c7bb0110a1b34e214173d3e2c08b9be871
tree55755e728a6a6ca13e1298d8c8eead42a011b674
parent3360813c03f6d251bbfb362547f027022ad5392c
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@371792 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/LiveInterval.cpp
test/CodeGen/AMDGPU/at-least-one-def-value-assert.mir [new file with mode: 0644]