summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/atomic.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/atomic.c')
-rw-r--r--test/CodeGen/atomic.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/CodeGen/atomic.c b/test/CodeGen/atomic.c
index ff304f5..c201a1a 100644
--- a/test/CodeGen/atomic.c
+++ b/test/CodeGen/atomic.c
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 %s -emit-llvm -o - -triple=i686-apple-darwin9 > %t1
+// RUN: grep @llvm.memory.barrier %t1 | count 42
// RUN: grep @llvm.atomic.load.add.i32 %t1 | count 3
// RUN: grep @llvm.atomic.load.sub.i8 %t1 | count 2
// RUN: grep @llvm.atomic.load.min.i32 %t1
OpenPOWER on IntegriCloud