mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-21 03:05:15 +00:00
Fix a verifier bug.
Make sure useless (def-only) intervals also get verified. llvm-svn: 157000
This commit is contained in:
parent
ab2fc29c78
commit
0069dd0862
@ -1076,7 +1076,7 @@ void MachineVerifier::verifyLiveIntervals() {
|
||||
const LiveInterval &LI = *LVI->second;
|
||||
|
||||
// Spilling and splitting may leave unused registers around. Skip them.
|
||||
if (MRI->use_empty(LI.reg))
|
||||
if (MRI->reg_nodbg_empty(LI.reg))
|
||||
continue;
|
||||
|
||||
// Physical registers have much weirdness going on, mostly from coalescing.
|
||||
|
Loading…
x
Reference in New Issue
Block a user