summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/atomic-load-store-wide.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/X86/atomic-load-store-wide.ll')
-rw-r--r--llvm/test/CodeGen/X86/atomic-load-store-wide.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/X86/atomic-load-store-wide.ll b/llvm/test/CodeGen/X86/atomic-load-store-wide.ll
index 227883e5592..a9ebfef2ebe 100644
--- a/llvm/test/CodeGen/X86/atomic-load-store-wide.ll
+++ b/llvm/test/CodeGen/X86/atomic-load-store-wide.ll
@@ -7,13 +7,13 @@ define void @test1(i64* %ptr, i64 %val1) {
; CHECK: test1
; CHECK: cmpxchg8b
; CHECK-NEXT: jne
- store atomic i64 %val1, i64* %ptr seq_cst, align 4
+ store atomic i64 %val1, i64* %ptr seq_cst, align 8
ret void
}
define i64 @test2(i64* %ptr) {
; CHECK: test2
; CHECK: cmpxchg8b
- %val = load atomic i64* %ptr seq_cst, align 4
+ %val = load atomic i64* %ptr seq_cst, align 8
ret i64 %val
}
OpenPOWER on IntegriCloud