[llvm-commits] CVS: llvm/test/Regression/Transforms/LoopStrengthReduce/related_indvars.ll
Reid Spencer
reid at x10sys.com
Sat Dec 2 08:25:35 PST 2006
Changes in directory llvm/test/Regression/Transforms/LoopStrengthReduce:
related_indvars.ll updated: 1.3 -> 1.4
---
Log message:
Prevent a GEP from getting upgraded to avoid resulting test failure.
---
Diffs of the changes: (+1 -1)
related_indvars.ll | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/test/Regression/Transforms/LoopStrengthReduce/related_indvars.ll
diff -u llvm/test/Regression/Transforms/LoopStrengthReduce/related_indvars.ll:1.3 llvm/test/Regression/Transforms/LoopStrengthReduce/related_indvars.ll:1.4
--- llvm/test/Regression/Transforms/LoopStrengthReduce/related_indvars.ll:1.3 Fri Dec 1 22:23:09 2006
+++ llvm/test/Regression/Transforms/LoopStrengthReduce/related_indvars.ll Sat Dec 2 10:25:20 2006
@@ -15,7 +15,7 @@
no_exit: ; preds = %no_exit, %entry
%indvar = phi uint [ 0, %entry ], [ %indvar.next, %no_exit ] ; <uint> [#uses=3]
%D_addr.0.0.rec = cast uint %indvar to int ; <int> [#uses=1]
- %D_addr.0.0 = getelementptr double* %D, uint %indvar ; <double*> [#uses=1]
+ %D_addr.0.0 = getelementptr double* %D, int %D_addr.0.0.rec ; <double*> [#uses=1]
%inc.rec = add int %D_addr.0.0.rec, 1 ; <int> [#uses=1]
%inc = getelementptr double* %D, int %inc.rec ; <double*> [#uses=1]
store double %F, double* %D_addr.0.0
More information about the llvm-commits
mailing list