From: Alexey Bataev Date: Mon, 15 Dec 2014 06:12:42 +0000 (+0000) Subject: Fixed test/CodeGen/atomic_ops.c for compatibility with hexagon target X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=679997088af5facdbddc3150b251aa4d201c7302;p=clang Fixed test/CodeGen/atomic_ops.c for compatibility with hexagon target git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@224231 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/atomic_ops.c b/test/CodeGen/atomic_ops.c index 910e9b9505..29009bef89 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, )}} }