summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2014-12-15 06:12:42 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2014-12-15 06:12:42 +0000
commita47ae907e83a36b0c79a017fb3a9eeaee11b0dee (patch)
tree8e35b61bd094329225ed943aa6e96f77e5fe51a7 /clang
parent452d8e1133766f2ace44563918b7deba4d614385 (diff)
downloadbcm5719-llvm-a47ae907e83a36b0c79a017fb3a9eeaee11b0dee.tar.gz
bcm5719-llvm-a47ae907e83a36b0c79a017fb3a9eeaee11b0dee.zip
Fixed test/CodeGen/atomic_ops.c for compatibility with hexagon target
llvm-svn: 224231
Diffstat (limited to 'clang')
-rw-r--r--clang/test/CodeGen/atomic_ops.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/CodeGen/atomic_ops.c b/clang/test/CodeGen/atomic_ops.c
index 910e9b95050..29009bef894 100644
--- a/clang/test/CodeGen/atomic_ops.c
+++ b/clang/test/CodeGen/atomic_ops.c
@@ -7,12 +7,12 @@ void foo(int x)
// Check that multiply / divides on atomics produce a cmpxchg loop
i *= 2;
// CHECK: mul nsw i32
- // CHECK: cmpxchg i32*
+ // CHECK: {{(cmpxchg i32*|i1 @__atomic_compare_exchange\(i32 4,)}}
i /= 2;
// CHECK: sdiv i32
- // CHECK: cmpxchg i32*
+ // CHECK: {{(cmpxchg i32*|i1 @__atomic_compare_exchange\(i32 4, )}}
j /= x;
// CHECK: sdiv i32
- // CHECK: cmpxchg i16*
+ // CHECK: {{(cmpxchg i16*|i1 @__atomic_compare_exchange\(i32 2, )}}
}
OpenPOWER on IntegriCloud