projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix undefined behavior in vector shift tests.
[oota-llvm.git]
/
test
/
CodeGen
/
X86
/
atomic-load-store-wide.ll
diff --git
a/test/CodeGen/X86/atomic-load-store-wide.ll
b/test/CodeGen/X86/atomic-load-store-wide.ll
index 227883e55926b2fca2d6e18bdbf15ac61f378047..17e04f059034a49104253814e0e3b923d03e9eb4 100644
(file)
--- a/
test/CodeGen/X86/atomic-load-store-wide.ll
+++ b/
test/CodeGen/X86/atomic-load-store-wide.ll
@@
-1,4
+1,4
@@
-; RUN: llc < %s -march=x86 | FileCheck %s
+; RUN: llc < %s -march=x86
-verify-machineinstrs
| FileCheck %s
; 64-bit load/store on x86-32
; FIXME: The generated code can be substantially improved.
; 64-bit load/store on x86-32
; FIXME: The generated code can be substantially improved.
@@
-7,13
+7,13
@@
define void @test1(i64* %ptr, i64 %val1) {
; CHECK: test1
; CHECK: cmpxchg8b
; CHECK-NEXT: jne
; 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
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
}
ret i64 %val
}