diff options
| author | Dan Gohman <gohman@apple.com> | 2010-02-12 10:34:29 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2010-02-12 10:34:29 +0000 |
| commit | 45774ce0ada1d386c4f338c057f74a3fb2b48efd (patch) | |
| tree | 7a7381d527967385658fa0d399fb93483827c1e1 /llvm/test/Transforms/IndVarSimplify | |
| parent | c7ef4cc9fcb5e91c0f402e9dc6c85f8357f2cbfc (diff) | |
| download | bcm5719-llvm-45774ce0ada1d386c4f338c057f74a3fb2b48efd.tar.gz bcm5719-llvm-45774ce0ada1d386c4f338c057f74a3fb2b48efd.zip | |
Reapply the new LoopStrengthReduction code, with compile time and
bug fixes, and with improved heuristics for analyzing foreign-loop
addrecs.
This change also flattens IVUsers, eliminating the stride-oriented
groupings, which makes it easier to work with.
llvm-svn: 95975
Diffstat (limited to 'llvm/test/Transforms/IndVarSimplify')
| -rw-r--r-- | llvm/test/Transforms/IndVarSimplify/addrec-gep.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Transforms/IndVarSimplify/addrec-gep.ll b/llvm/test/Transforms/IndVarSimplify/addrec-gep.ll index 9e4273491e4..345f666c3b2 100644 --- a/llvm/test/Transforms/IndVarSimplify/addrec-gep.ll +++ b/llvm/test/Transforms/IndVarSimplify/addrec-gep.ll @@ -25,7 +25,7 @@ bb1: ; preds = %bb2, %bb.nph %j.01 = phi i64 [ %tmp9, %bb2 ], [ 0, %bb.nph ] ; <i64> [#uses=3] %tmp3 = add i64 %j.01, %tmp1 ; <i64> [#uses=1] %tmp4 = add i64 %j.01, %tmp2 ; <i64> [#uses=1] - %z0 = add i64 %tmp4, 5203 + %z0 = add i64 %tmp3, 5203 %tmp5 = getelementptr double* %p, i64 %z0 ; <double*> [#uses=1] %tmp6 = load double* %tmp5, align 8 ; <double> [#uses=1] %tmp7 = fdiv double %tmp6, 2.100000e+00 ; <double> [#uses=1] |

