aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/barrier.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/barrier.ll')
-rw-r--r--test/CodeGen/X86/barrier.ll3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/CodeGen/X86/barrier.ll b/test/CodeGen/X86/barrier.ll
index 4769b39..1f60131 100644
--- a/test/CodeGen/X86/barrier.ll
+++ b/test/CodeGen/X86/barrier.ll
@@ -1,6 +1,7 @@
-; RUN: llc < %s -march=x86 -mattr=-sse2 | grep lock
+; RUN: llc < %s -march=x86 -mattr=-sse2 | FileCheck %s
define void @test() {
+; CHECK: lock
fence seq_cst
ret void
}