mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-15 16:09:02 +00:00
Fix a verifier bug.
Make sure useless (def-only) intervals also get verified. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157000 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
29424e8133
commit
e3da8c6286
@ -1076,7 +1076,7 @@ void MachineVerifier::verifyLiveIntervals() {
|
|||||||
const LiveInterval &LI = *LVI->second;
|
const LiveInterval &LI = *LVI->second;
|
||||||
|
|
||||||
// Spilling and splitting may leave unused registers around. Skip them.
|
// Spilling and splitting may leave unused registers around. Skip them.
|
||||||
if (MRI->use_empty(LI.reg))
|
if (MRI->reg_nodbg_empty(LI.reg))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
// Physical registers have much weirdness going on, mostly from coalescing.
|
// Physical registers have much weirdness going on, mostly from coalescing.
|
||||||
|
Loading…
Reference in New Issue
Block a user