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:
0b77e0f
)
Fix typo.
author
Jakob Stoklund Olesen
<stoklund@2pi.dk>
Wed, 2 Mar 2011 00:33:01 +0000
(
00:33
+0000)
committer
Jakob Stoklund Olesen
<stoklund@2pi.dk>
Wed, 2 Mar 2011 00:33:01 +0000
(
00:33
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126805
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/LiveIntervalAnalysis.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/LiveIntervalAnalysis.cpp
b/lib/CodeGen/LiveIntervalAnalysis.cpp
index aef5b5f77e78457b02d2e2891b1f5112ec534761..3c4ada9a3fa64ac9ad515e8960d944e93e2d852c 100644
(file)
--- a/
lib/CodeGen/LiveIntervalAnalysis.cpp
+++ b/
lib/CodeGen/LiveIntervalAnalysis.cpp
@@
-847,7
+847,7
@@
void LiveIntervals::shrinkToUses(LiveInterval *li) {
assert(LII != NewLI.end() && "Missing live range for PHI");
if (LII->end != VNI->def.getNextSlot())
continue;
- if (
!
VNI->isPHIDef()) {
+ if (VNI->isPHIDef()) {
// This is a dead PHI. Remove it.
VNI->setIsUnused(true);
NewLI.removeRange(*LII);