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

