Convert test to FileCheck.

llvm-svn: 199355
This commit is contained in:
Rafael Espindola 2014-01-16 06:31:20 +00:00
parent 91686d6dee
commit 306e2b019f
1 changed files with 7 additions and 4 deletions

View 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
}