Convert test to FileCheck.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 16 Jan 2014 06:31:20 +0000 (06:31 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 16 Jan 2014 06:31:20 +0000 (06:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199355 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/barrier-sse.ll

index bbfeea6419bdd39b1ccaee0f91697061242bab38..80c0cc82e93e0408a694390a739c59757da39799 100644 (file)
@@ -1,11 +1,14 @@
-; RUN: llc < %s -march=x86 -mattr=+sse2 | not grep sfence
-; RUN: llc < %s -march=x86 -mattr=+sse2 | not grep lfence
-; RUN: llc < %s -march=x86 -mattr=+sse2 | not grep mfence
-; RUN: llc < %s -march=x86 -mattr=+sse2 | grep MEMBARRIER
+; RUN: llc < %s -mtriple=i686-apple-darwin -mattr=+sse2 | FileCheck %s
 
 define void @test() {
   fence acquire
+  ; CHECK: #MEMBARRIER
+
   fence release
+  ; CHECK: #MEMBARRIER
+
   fence acq_rel
+  ; CHECK: #MEMBARRIER
+
   ret void
 }