[llvm-commits] CVS: llvm/lib/Analysis/ScalarEvolution.cpp

Jeff Cohen jeffc at jolt-lang.org
Mon Jan 15 12:27:38 PST 2007



Changes in directory llvm/lib/Analysis:

ScalarEvolution.cpp updated: 1.88 -> 1.89
---
Log message:

Unbreak VC++ build.

---
Diffs of the changes:  (+1 -1)

 ScalarEvolution.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/Analysis/ScalarEvolution.cpp
diff -u llvm/lib/Analysis/ScalarEvolution.cpp:1.88 llvm/lib/Analysis/ScalarEvolution.cpp:1.89
--- llvm/lib/Analysis/ScalarEvolution.cpp:1.88	Sun Jan 14 20:27:26 2007
+++ llvm/lib/Analysis/ScalarEvolution.cpp	Mon Jan 15 14:27:18 2007
@@ -1929,7 +1929,7 @@
     // Couldn't symbolically evaluate.
     if (!CondVal) return UnknownValue;
 
-    if (CondVal->getZExtValue() == ExitWhen) {
+    if (CondVal->getZExtValue() == uint64_t(ExitWhen)) {
       ConstantEvolutionLoopExitValue[PN] = PHIVal;
       ++NumBruteForceTripCountsComputed;
       return SCEVConstant::get(ConstantInt::get(Type::Int32Ty, IterationNum));






More information about the llvm-commits mailing list