[llvm-commits] CVS: llvm/lib/Transforms/Utils/LoopSimplify.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sat Feb 11 00:47:59 PST 2006
Changes in directory llvm/lib/Transforms/Utils:
LoopSimplify.cpp updated: 1.64 -> 1.65
---
Log message:
revert my previous change, it exposed other problems.
---
Diffs of the changes: (+1 -1)
LoopSimplify.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Transforms/Utils/LoopSimplify.cpp
diff -u llvm/lib/Transforms/Utils/LoopSimplify.cpp:1.64 llvm/lib/Transforms/Utils/LoopSimplify.cpp:1.65
--- llvm/lib/Transforms/Utils/LoopSimplify.cpp:1.64 Fri Feb 10 20:13:17 2006
+++ llvm/lib/Transforms/Utils/LoopSimplify.cpp Sat Feb 11 02:47:47 2006
@@ -169,7 +169,7 @@
PI != PE; ++PI)
// Must be exactly this loop: no subloops, parent loops, or non-loop preds
// allowed.
- if (LI.getLoopFor(*PI) != L) {
+ if (!L->contains(*PI)) {
RewriteLoopExitBlock(L, ExitBlock);
NumInserted++;
Changed = true;
More information about the llvm-commits
mailing list