From: Jakob Stoklund Olesen Date: Wed, 2 Mar 2011 00:33:01 +0000 (+0000) Subject: Fix typo. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a4d347357ce04d9101130dca0df33cb62ea35a2f;p=oota-llvm.git Fix typo. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126805 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/LiveIntervalAnalysis.cpp b/lib/CodeGen/LiveIntervalAnalysis.cpp index aef5b5f77e7..3c4ada9a3fa 100644 --- 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);