From 06d4ba388873e6d1cfa9cd715a8935ecc8cd2097 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Sun, 18 Jan 2015 16:23:48 +0000 Subject: Vendor import of clang RELEASE_360/rc1 tag r226102 (effectively, 3.6.0 RC1): https://llvm.org/svn/llvm-project/cfe/tags/RELEASE_360/rc1@226102 --- test/CodeGen/atomic_ops.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/CodeGen/atomic_ops.c') diff --git a/test/CodeGen/atomic_ops.c b/test/CodeGen/atomic_ops.c index 910e9b950506..29009bef894c 100644 --- a/test/CodeGen/atomic_ops.c +++ b/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, )}} } -- cgit v1.3