[llvm-commits] CVS: llvm/lib/Analysis/ScalarEvolution.cpp
Chris Lattner
lattner at cs.uiuc.edu
Thu Apr 15 09:18:00 PDT 2004
Changes in directory llvm/lib/Analysis:
ScalarEvolution.cpp updated: 1.9 -> 1.10
---
Log message:
Unbreak the build
---
Diffs of the changes: (+1 -0)
Index: llvm/lib/Analysis/ScalarEvolution.cpp
diff -u llvm/lib/Analysis/ScalarEvolution.cpp:1.9 llvm/lib/Analysis/ScalarEvolution.cpp:1.10
--- llvm/lib/Analysis/ScalarEvolution.cpp:1.9 Wed Apr 14 17:01:22 2004
+++ llvm/lib/Analysis/ScalarEvolution.cpp Thu Apr 15 09:17:43 2004
@@ -2490,6 +2490,7 @@
if ((*UI)->getType() == Ty)
if (CastInst *CI = dyn_cast<CastInst>(cast<Instruction>(*UI))) {
BasicBlock::iterator It = I; ++It;
+ while (isa<PHINode>(It)) ++It;
if (It != BasicBlock::iterator(CI)) {
// Splice the cast immediately after the operand in question.
I->getParent()->getInstList().splice(It,
More information about the llvm-commits
mailing list