diff options
Diffstat (limited to 'test/CodeGen/Thumb2/lsr-deficiency.ll')
-rw-r--r-- | test/CodeGen/Thumb2/lsr-deficiency.ll | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/CodeGen/Thumb2/lsr-deficiency.ll b/test/CodeGen/Thumb2/lsr-deficiency.ll index 7ce6768..ccf7fae 100644 --- a/test/CodeGen/Thumb2/lsr-deficiency.ll +++ b/test/CodeGen/Thumb2/lsr-deficiency.ll @@ -10,7 +10,7 @@ define void @t() nounwind optsize { ; CHECK-LABEL: t: ; CHECK: mov{{.*}}, #1000 entry: - %.pre = load i32* @G, align 4 ; <i32> [#uses=1] + %.pre = load i32, i32* @G, align 4 ; <i32> [#uses=1] br label %bb bb: ; preds = %bb, %entry @@ -22,9 +22,9 @@ bb: ; preds = %bb, %entry %0 = phi i32 [ %.pre, %entry ], [ %3, %bb ] ; <i32> [#uses=1] %indvar = phi i32 [ 0, %entry ], [ %indvar.next, %bb ] ; <i32> [#uses=2] %tmp5 = sub i32 1000, %indvar ; <i32> [#uses=1] - %1 = load i32** @array, align 4 ; <i32*> [#uses=1] - %scevgep = getelementptr i32* %1, i32 %tmp5 ; <i32*> [#uses=1] - %2 = load i32* %scevgep, align 4 ; <i32> [#uses=1] + %1 = load i32*, i32** @array, align 4 ; <i32*> [#uses=1] + %scevgep = getelementptr i32, i32* %1, i32 %tmp5 ; <i32*> [#uses=1] + %2 = load i32, i32* %scevgep, align 4 ; <i32> [#uses=1] %3 = add nsw i32 %2, %0 ; <i32> [#uses=2] store i32 %3, i32* @G, align 4 %indvar.next = add i32 %indvar, 1 ; <i32> [#uses=2] |