aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/atomic.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/atomic.c')
-rw-r--r--test/CodeGen/atomic.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/CodeGen/atomic.c b/test/CodeGen/atomic.c
index a0adac8e1c..c8f4fd09bb 100644
--- a/test/CodeGen/atomic.c
+++ b/test/CodeGen/atomic.c
@@ -75,8 +75,7 @@ int atomic(void) {
// CHECK: cmpxchg i32* null, i32 0, i32 0 seq_cst
__sync_lock_release(&val);
- // FIXME: WRONG!
- // CHECK: store volatile i32 0, i32*
+ // CHECK: store atomic {{.*}} release, align 4
__sync_synchronize ();
// CHECK: fence seq_cst
@@ -88,8 +87,7 @@ int atomic(void) {
void release_return(int *lock) {
// Ensure this is actually returning void all the way through.
return __sync_lock_release(lock);
- // FIXME: WRONG!
- // CHECK: store volatile i32 0, i32*
+ // CHECK: store atomic {{.*}} release, align 4
}