diff options
author | David Chisnall <csdavec@swan.ac.uk> | 2012-03-29 18:41:08 +0000 |
---|---|---|
committer | David Chisnall <csdavec@swan.ac.uk> | 2012-03-29 18:41:08 +0000 |
commit | abf320d40e580305c95a47337b8d2e8f1fb49586 (patch) | |
tree | b3b01639b37b77de9a510e2c34b882d0b30f5edc /clang/test/CodeGen | |
parent | 8f7c1d32a86a1c37aa5e5875fcc8e84295ef810a (diff) | |
download | bcm5719-llvm-abf320d40e580305c95a47337b8d2e8f1fb49586.tar.gz bcm5719-llvm-abf320d40e580305c95a47337b8d2e8f1fb49586.zip |
Relax the test slightly so that it should pass on other people's computers.
llvm-svn: 153670
Diffstat (limited to 'clang/test/CodeGen')
-rw-r--r-- | clang/test/CodeGen/atomic-ops.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/test/CodeGen/atomic-ops.c b/clang/test/CodeGen/atomic-ops.c index a3608de6e08..81406347735 100644 --- a/clang/test/CodeGen/atomic-ops.c +++ b/clang/test/CodeGen/atomic-ops.c @@ -96,18 +96,18 @@ void structAtomicStore() { // CHECK: @structAtomicStore struct foo f = {0}; __atomic_store(&bigAtomic, f, 5); - // CHECK: call void @__atomic_store(i32 512, i8* bitcast (%struct.foo* @bigAtomic to i8*), i8* %3, i32 5) + // CHECK: call void @__atomic_store(i32 512, i8* bitcast (%struct.foo* @bigAtomic to i8*), } void structAtomicLoad() { // CHECK: @structAtomicLoad struct foo f = __atomic_load(&bigAtomic, 5); - // CHECK: call void @__atomic_load(i32 512, i8* bitcast (%struct.foo* @bigAtomic to i8*), i8* %0, i32 5) + // CHECK: call void @__atomic_load(i32 512, i8* bitcast (%struct.foo* @bigAtomic to i8*), } struct foo structAtomicExchange() { // CHECK: @structAtomicExchange struct foo f = {0}; return __atomic_exchange(&bigAtomic, f, 5); - // CHECK: call void @__atomic_exchange(i32 512, i8* bitcast (%struct.foo* @bigAtomic to i8*), i8* %3, i8* %4, i32 5) + // CHECK: call void @__atomic_exchange(i32 512, i8* bitcast (%struct.foo* @bigAtomic to i8*), } int structAtomicCmpExchange() { // CHECK: @structAtomicCmpExchange @@ -115,5 +115,5 @@ int structAtomicCmpExchange() { struct foo g = {0}; g.big[12] = 12; return __atomic_compare_exchange_strong(&bigAtomic, &f, g, 5, 5); - // CHECK: call zeroext i1 @__atomic_compare_exchange(i32 512, i8* bitcast (%struct.foo* @bigAtomic to i8*), i8* %4, i8* %5, i32 5, i32 5) + // CHECK: call zeroext i1 @__atomic_compare_exchange(i32 512, i8* bitcast (%struct.foo* @bigAtomic to i8*), } |