diff options
Diffstat (limited to 'test/CodeGen/SystemZ/atomicrmw-add-06.ll')
-rw-r--r-- | test/CodeGen/SystemZ/atomicrmw-add-06.ll | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/CodeGen/SystemZ/atomicrmw-add-06.ll b/test/CodeGen/SystemZ/atomicrmw-add-06.ll index f508858..ef77dc0 100644 --- a/test/CodeGen/SystemZ/atomicrmw-add-06.ll +++ b/test/CodeGen/SystemZ/atomicrmw-add-06.ll @@ -26,7 +26,7 @@ define i64 @f3(i64 %dummy, i64 *%src, i64 %b) { ; CHECK-LABEL: f3: ; CHECK: laag %r2, %r4, 524280(%r3) ; CHECK: br %r14 - %ptr = getelementptr i64 *%src, i64 65535 + %ptr = getelementptr i64, i64 *%src, i64 65535 %res = atomicrmw add i64 *%ptr, i64 %b seq_cst ret i64 %res } @@ -37,7 +37,7 @@ define i64 @f4(i64 %dummy, i64 *%src, i64 %b) { ; CHECK: agfi %r3, 524288 ; CHECK: laag %r2, %r4, 0(%r3) ; CHECK: br %r14 - %ptr = getelementptr i64 *%src, i64 65536 + %ptr = getelementptr i64, i64 *%src, i64 65536 %res = atomicrmw add i64 *%ptr, i64 %b seq_cst ret i64 %res } @@ -47,7 +47,7 @@ define i64 @f5(i64 %dummy, i64 *%src, i64 %b) { ; CHECK-LABEL: f5: ; CHECK: laag %r2, %r4, -524288(%r3) ; CHECK: br %r14 - %ptr = getelementptr i64 *%src, i64 -65536 + %ptr = getelementptr i64, i64 *%src, i64 -65536 %res = atomicrmw add i64 *%ptr, i64 %b seq_cst ret i64 %res } @@ -58,7 +58,7 @@ define i64 @f6(i64 %dummy, i64 *%src, i64 %b) { ; CHECK: agfi %r3, -524296 ; CHECK: laag %r2, %r4, 0(%r3) ; CHECK: br %r14 - %ptr = getelementptr i64 *%src, i64 -65537 + %ptr = getelementptr i64, i64 *%src, i64 -65537 %res = atomicrmw add i64 *%ptr, i64 %b seq_cst ret i64 %res } |