diff options
Diffstat (limited to 'test/CodeGen/X86/lea-recursion.ll')
-rw-r--r-- | test/CodeGen/X86/lea-recursion.ll | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/test/CodeGen/X86/lea-recursion.ll b/test/CodeGen/X86/lea-recursion.ll index 9480600..55bcd78 100644 --- a/test/CodeGen/X86/lea-recursion.ll +++ b/test/CodeGen/X86/lea-recursion.ll @@ -13,34 +13,34 @@ define void @foo() { entry: - %tmp4 = load i32* getelementptr ([1000 x i32]* @g0, i32 0, i32 0) ; <i32> [#uses=1] - %tmp8 = load i32* getelementptr ([1000 x i32]* @g1, i32 0, i32 0) ; <i32> [#uses=1] + %tmp4 = load i32, i32* getelementptr ([1000 x i32], [1000 x i32]* @g0, i32 0, i32 0) ; <i32> [#uses=1] + %tmp8 = load i32, i32* getelementptr ([1000 x i32], [1000 x i32]* @g1, i32 0, i32 0) ; <i32> [#uses=1] %tmp9 = add i32 %tmp4, 1 ; <i32> [#uses=1] %tmp10 = add i32 %tmp9, %tmp8 ; <i32> [#uses=2] - store i32 %tmp10, i32* getelementptr ([1000 x i32]* @g0, i32 0, i32 1) - %tmp8.1 = load i32* getelementptr ([1000 x i32]* @g1, i32 0, i32 1) ; <i32> [#uses=1] + store i32 %tmp10, i32* getelementptr ([1000 x i32], [1000 x i32]* @g0, i32 0, i32 1) + %tmp8.1 = load i32, i32* getelementptr ([1000 x i32], [1000 x i32]* @g1, i32 0, i32 1) ; <i32> [#uses=1] %tmp9.1 = add i32 %tmp10, 1 ; <i32> [#uses=1] %tmp10.1 = add i32 %tmp9.1, %tmp8.1 ; <i32> [#uses=2] - store i32 %tmp10.1, i32* getelementptr ([1000 x i32]* @g0, i32 0, i32 2) - %tmp8.2 = load i32* getelementptr ([1000 x i32]* @g1, i32 0, i32 2) ; <i32> [#uses=1] + store i32 %tmp10.1, i32* getelementptr ([1000 x i32], [1000 x i32]* @g0, i32 0, i32 2) + %tmp8.2 = load i32, i32* getelementptr ([1000 x i32], [1000 x i32]* @g1, i32 0, i32 2) ; <i32> [#uses=1] %tmp9.2 = add i32 %tmp10.1, 1 ; <i32> [#uses=1] %tmp10.2 = add i32 %tmp9.2, %tmp8.2 ; <i32> [#uses=2] - store i32 %tmp10.2, i32* getelementptr ([1000 x i32]* @g0, i32 0, i32 3) - %tmp8.3 = load i32* getelementptr ([1000 x i32]* @g1, i32 0, i32 3) ; <i32> [#uses=1] + store i32 %tmp10.2, i32* getelementptr ([1000 x i32], [1000 x i32]* @g0, i32 0, i32 3) + %tmp8.3 = load i32, i32* getelementptr ([1000 x i32], [1000 x i32]* @g1, i32 0, i32 3) ; <i32> [#uses=1] %tmp9.3 = add i32 %tmp10.2, 1 ; <i32> [#uses=1] %tmp10.3 = add i32 %tmp9.3, %tmp8.3 ; <i32> [#uses=2] - store i32 %tmp10.3, i32* getelementptr ([1000 x i32]* @g0, i32 0, i32 4) - %tmp8.4 = load i32* getelementptr ([1000 x i32]* @g1, i32 0, i32 4) ; <i32> [#uses=1] + store i32 %tmp10.3, i32* getelementptr ([1000 x i32], [1000 x i32]* @g0, i32 0, i32 4) + %tmp8.4 = load i32, i32* getelementptr ([1000 x i32], [1000 x i32]* @g1, i32 0, i32 4) ; <i32> [#uses=1] %tmp9.4 = add i32 %tmp10.3, 1 ; <i32> [#uses=1] %tmp10.4 = add i32 %tmp9.4, %tmp8.4 ; <i32> [#uses=2] - store i32 %tmp10.4, i32* getelementptr ([1000 x i32]* @g0, i32 0, i32 5) - %tmp8.5 = load i32* getelementptr ([1000 x i32]* @g1, i32 0, i32 5) ; <i32> [#uses=1] + store i32 %tmp10.4, i32* getelementptr ([1000 x i32], [1000 x i32]* @g0, i32 0, i32 5) + %tmp8.5 = load i32, i32* getelementptr ([1000 x i32], [1000 x i32]* @g1, i32 0, i32 5) ; <i32> [#uses=1] %tmp9.5 = add i32 %tmp10.4, 1 ; <i32> [#uses=1] %tmp10.5 = add i32 %tmp9.5, %tmp8.5 ; <i32> [#uses=2] - store i32 %tmp10.5, i32* getelementptr ([1000 x i32]* @g0, i32 0, i32 6) - %tmp8.6 = load i32* getelementptr ([1000 x i32]* @g1, i32 0, i32 6) ; <i32> [#uses=1] + store i32 %tmp10.5, i32* getelementptr ([1000 x i32], [1000 x i32]* @g0, i32 0, i32 6) + %tmp8.6 = load i32, i32* getelementptr ([1000 x i32], [1000 x i32]* @g1, i32 0, i32 6) ; <i32> [#uses=1] %tmp9.6 = add i32 %tmp10.5, 1 ; <i32> [#uses=1] %tmp10.6 = add i32 %tmp9.6, %tmp8.6 ; <i32> [#uses=1] - store i32 %tmp10.6, i32* getelementptr ([1000 x i32]* @g0, i32 0, i32 7) + store i32 %tmp10.6, i32* getelementptr ([1000 x i32], [1000 x i32]* @g0, i32 0, i32 7) ret void } |