[llvm-commits] CVS: llvm/lib/Transforms/Scalar/LoopRotation.cpp
Devang Patel
dpatel at apple.com
Mon Apr 9 15:20:32 PDT 2007
Changes in directory llvm/lib/Transforms/Scalar:
LoopRotation.cpp updated: 1.8 -> 1.9
---
Log message:
Check _all_ PHINodes.
---
Diffs of the changes: (+1 -1)
LoopRotation.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Transforms/Scalar/LoopRotation.cpp
diff -u llvm/lib/Transforms/Scalar/LoopRotation.cpp:1.8 llvm/lib/Transforms/Scalar/LoopRotation.cpp:1.9
--- llvm/lib/Transforms/Scalar/LoopRotation.cpp:1.8 Mon Apr 9 16:40:43 2007
+++ llvm/lib/Transforms/Scalar/LoopRotation.cpp Mon Apr 9 17:20:10 2007
@@ -366,7 +366,7 @@
// There is already one incoming value from original pre-header block.
if (PN->getBasicBlockIndex(OrigPreHeader) != -1)
- return;
+ continue;
const RenameData *ILoopHeaderInfo;
Value *V = PN->getIncomingValueForBlock(OrigHeader);
More information about the llvm-commits
mailing list