diff options
Diffstat (limited to 'test/CodeGen/X86/merge_store.ll')
-rw-r--r-- | test/CodeGen/X86/merge_store.ll | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/CodeGen/X86/merge_store.ll b/test/CodeGen/X86/merge_store.ll index f98963d..2701f36 100644 --- a/test/CodeGen/X86/merge_store.ll +++ b/test/CodeGen/X86/merge_store.ll @@ -10,16 +10,16 @@ entry: for.body: %indvars.iv = phi i64 [ 0, %entry ], [ %indvars.iv.next, %for.body ] - %arrayidx = getelementptr inbounds i32* %a, i64 %indvars.iv + %arrayidx = getelementptr inbounds i32, i32* %a, i64 %indvars.iv store i32 1, i32* %arrayidx, align 4 %0 = or i64 %indvars.iv, 1 - %arrayidx2 = getelementptr inbounds i32* %a, i64 %0 + %arrayidx2 = getelementptr inbounds i32, i32* %a, i64 %0 store i32 1, i32* %arrayidx2, align 4 %1 = or i64 %indvars.iv, 2 - %arrayidx5 = getelementptr inbounds i32* %a, i64 %1 + %arrayidx5 = getelementptr inbounds i32, i32* %a, i64 %1 store i32 1, i32* %arrayidx5, align 4 %2 = or i64 %indvars.iv, 3 - %arrayidx8 = getelementptr inbounds i32* %a, i64 %2 + %arrayidx8 = getelementptr inbounds i32, i32* %a, i64 %2 store i32 1, i32* %arrayidx8, align 4 %indvars.iv.next = add nuw nsw i64 %indvars.iv, 4 %3 = trunc i64 %indvars.iv.next to i32 |