diff options
Diffstat (limited to 'test/Transforms/InstCombine/assume-loop-align.ll')
-rw-r--r-- | test/Transforms/InstCombine/assume-loop-align.ll | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/Transforms/InstCombine/assume-loop-align.ll b/test/Transforms/InstCombine/assume-loop-align.ll index 19190de..e803ba6 100644 --- a/test/Transforms/InstCombine/assume-loop-align.ll +++ b/test/Transforms/InstCombine/assume-loop-align.ll @@ -19,16 +19,16 @@ entry: br label %for.body ; CHECK-LABEL: @foo -; CHECK: load i32* {{.*}} align 64 +; CHECK: load i32, i32* {{.*}} align 64 ; CHECK: store i32 {{.*}} align 64 ; CHECK: ret for.body: ; preds = %entry, %for.body %indvars.iv = phi i64 [ 0, %entry ], [ %indvars.iv.next, %for.body ] - %arrayidx = getelementptr inbounds i32* %b, i64 %indvars.iv - %0 = load i32* %arrayidx, align 4 + %arrayidx = getelementptr inbounds i32, i32* %b, i64 %indvars.iv + %0 = load i32, i32* %arrayidx, align 4 %add = add nsw i32 %0, 1 - %arrayidx5 = getelementptr inbounds i32* %a, i64 %indvars.iv + %arrayidx5 = getelementptr inbounds i32, i32* %a, i64 %indvars.iv store i32 %add, i32* %arrayidx5, align 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv, 16 %1 = trunc i64 %indvars.iv.next to i32 |