Not all targets generate 'store atomic' instructions for
'_Atomic(_Complex int)'. Some targets use the __atomic_store builtin instead.
This commit makes the test accept either one.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@229676
91177308-0d34-0410-b5e6-
96231b3b80d8
// RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
+// RUN: %clang_cc1 -triple mips-linux-gnu -emit-llvm %s -o - | FileCheck %s
void foo(int x)
{
void baz(int y) {
// CHECK-LABEL: @baz
-// CHECK: store atomic
+// CHECK: {{store atomic|call void @__atomic_store}}
x += y;
}