From 572645cf84060c0fc25cb91d38cb9079918b3a88 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 12 Feb 2010 10:34:29 +0000 Subject: 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95975 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Transforms/IndVarSimplify/addrec-gep.ll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/Transforms/IndVarSimplify/addrec-gep.ll') diff --git a/test/Transforms/IndVarSimplify/addrec-gep.ll b/test/Transforms/IndVarSimplify/addrec-gep.ll index 9e42734..345f666 100644 --- a/test/Transforms/IndVarSimplify/addrec-gep.ll +++ b/test/Transforms/IndVarSimplify/addrec-gep.ll @@ -25,7 +25,7 @@ bb1: ; preds = %bb2, %bb.nph %j.01 = phi i64 [ %tmp9, %bb2 ], [ 0, %bb.nph ] ; [#uses=3] %tmp3 = add i64 %j.01, %tmp1 ; [#uses=1] %tmp4 = add i64 %j.01, %tmp2 ; [#uses=1] - %z0 = add i64 %tmp4, 5203 + %z0 = add i64 %tmp3, 5203 %tmp5 = getelementptr double* %p, i64 %z0 ; [#uses=1] %tmp6 = load double* %tmp5, align 8 ; [#uses=1] %tmp7 = fdiv double %tmp6, 2.100000e+00 ; [#uses=1] -- cgit v1.1