projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29424e8
)
Fix a verifier bug.
author
Jakob Stoklund Olesen
<stoklund@2pi.dk>
Thu, 17 May 2012 18:32:40 +0000
(18:32 +0000)
committer
Jakob Stoklund Olesen
<stoklund@2pi.dk>
Thu, 17 May 2012 18:32:40 +0000
(18:32 +0000)
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
lib/CodeGen/MachineVerifier.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/MachineVerifier.cpp
b/lib/CodeGen/MachineVerifier.cpp
index 231c91b00b246fbe20ecbc20ab7fa8852ec02e45..a2027509783cf641b1a9c210eb6747a7645da6d1 100644
(file)
--- a/
lib/CodeGen/MachineVerifier.cpp
+++ b/
lib/CodeGen/MachineVerifier.cpp
@@
-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.