[llvm-commits] [llvm] r93105 - /llvm/trunk/lib/Transforms/InstCombine/InstCombineCasts.cpp
Chris Lattner
sabre at nondot.org
Sat Jan 9 22:50:04 PST 2010
Author: lattner
Date: Sun Jan 10 00:50:04 2010
New Revision: 93105
URL: http://llvm.org/viewvc/llvm-project?rev=93105&view=rev
Log:
fix pasto that broke bootstrap.
Modified:
llvm/trunk/lib/Transforms/InstCombine/InstCombineCasts.cpp
Modified: llvm/trunk/lib/Transforms/InstCombine/InstCombineCasts.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/InstCombine/InstCombineCasts.cpp?rev=93105&r1=93104&r2=93105&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/InstCombine/InstCombineCasts.cpp (original)
+++ llvm/trunk/lib/Transforms/InstCombine/InstCombineCasts.cpp Sun Jan 10 00:50:04 2010
@@ -623,7 +623,7 @@
PHINode *PN = cast<PHINode>(I);
if (!CanEvaluateZExtd(PN->getIncomingValue(0), Ty, TD)) return false;
for (unsigned i = 1, e = PN->getNumIncomingValues(); i != e; ++i)
- if (!CanEvaluateZExtd(PN->getIncomingValue(0), Ty, TD)) return false;
+ if (!CanEvaluateZExtd(PN->getIncomingValue(i), Ty, TD)) return false;
return true;
}
default:
More information about the llvm-commits
mailing list