diff options
Diffstat (limited to 'test/CodeGen/X86/avoid-loop-align-2.ll')
-rw-r--r-- | test/CodeGen/X86/avoid-loop-align-2.ll | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/CodeGen/X86/avoid-loop-align-2.ll b/test/CodeGen/X86/avoid-loop-align-2.ll index fc9d1f0..e02f356 100644 --- a/test/CodeGen/X86/avoid-loop-align-2.ll +++ b/test/CodeGen/X86/avoid-loop-align-2.ll @@ -13,7 +13,7 @@ entry: bb.nph12: ; preds = %entry %1 = icmp eq i32 %b, 0 ; <i1> [#uses=1] - %2 = load i32** @x, align 8 ; <i32*> [#uses=1] + %2 = load i32*, i32** @x, align 8 ; <i32*> [#uses=1] br i1 %1, label %bb2.preheader, label %bb2.preheader.us bb2.preheader.us: ; preds = %bb2.bb3_crit_edge.us, %bb.nph12 @@ -26,8 +26,8 @@ bb1.us: ; preds = %bb1.us, %bb2.preheader.us %indvar = phi i32 [ 0, %bb2.preheader.us ], [ %indvar.next, %bb1.us ] ; <i32> [#uses=2] %tmp17 = add i32 %indvar, %tmp16 ; <i32> [#uses=1] %tmp. = zext i32 %tmp17 to i64 ; <i64> [#uses=1] - %3 = getelementptr i32* %2, i64 %tmp. ; <i32*> [#uses=1] - %4 = load i32* %3, align 4 ; <i32> [#uses=2] + %3 = getelementptr i32, i32* %2, i64 %tmp. ; <i32*> [#uses=1] + %4 = load i32, i32* %3, align 4 ; <i32> [#uses=2] %indvar.next = add i32 %indvar, 1 ; <i32> [#uses=2] %exitcond = icmp eq i32 %indvar.next, %b ; <i1> [#uses=1] br i1 %exitcond, label %bb2.bb3_crit_edge.us, label %bb1.us |