Changes in directory llvm/lib/Analysis:
ScalarEvolutionExpander.cpp updated: 1.13 -> 1.14 --- Log message: Avoid a potential assert out if the loop increment is > 64 bits. --- Diffs of the changes: (+1 -1) ScalarEvolutionExpander.cpp | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/Analysis/ScalarEvolutionExpander.cpp diff -u llvm/lib/Analysis/ScalarEvolutionExpander.cpp:1.13 llvm/lib/Analysis/ScalarEvolutionExpander.cpp:1.14 --- llvm/lib/Analysis/ScalarEvolutionExpander.cpp:1.13 Sat Jan 20 18:29:25 2007 +++ llvm/lib/Analysis/ScalarEvolutionExpander.cpp Thu Mar 1 13:45:00 2007 @@ -143,7 +143,7 @@ // IF the step is by one, just return the inserted IV. if (ConstantInt *CI = dyn_cast<ConstantInt>(F)) - if (CI->getZExtValue() == 1) + if (CI->getValue() == 1) return I; // If the insert point is directly inside of the loop, emit the multiply at _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits