[llvm-commits] CVS: llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sat Aug 13 00:42:25 PDT 2005
Changes in directory llvm/lib/Transforms/Scalar:
LoopStrengthReduce.cpp updated: 1.50 -> 1.51
---
Log message:
Ooops, don't forget to clear this. The real inner loop is now:
.LBB_foo_3: ; no_exit.1
lfd f2, 0(r9)
lfd f3, 8(r9)
fmul f4, f1, f2
fmadd f4, f0, f3, f4
stfd f4, 8(r9)
fmul f3, f1, f3
fmsub f2, f0, f2, f3
stfd f2, 0(r9)
addi r9, r9, 16
addi r8, r8, 1
cmpw cr0, r8, r4
ble .LBB_foo_3 ; no_exit.1
---
Diffs of the changes: (+1 -0)
LoopStrengthReduce.cpp | 1 +
1 files changed, 1 insertion(+)
Index: llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
diff -u llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp:1.50 llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp:1.51
--- llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp:1.50 Sat Aug 13 02:27:18 2005
+++ llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp Sat Aug 13 02:42:01 2005
@@ -690,6 +690,7 @@
Uses[i].Base = Zero;
else
Uses[i].Base = SCEVAddExpr::get(SubExprs);
+ SubExprs.clear();
}
return Result;
More information about the llvm-commits
mailing list