Fix typo.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Wed, 2 Mar 2011 00:33:01 +0000 (00:33 +0000)
committerJakob 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

index aef5b5f77e78457b02d2e2891b1f5112ec534761..3c4ada9a3fa64ac9ad515e8960d944e93e2d852c 100644 (file)
@@ -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);