fix test to use FileCheck

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@260751 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Sanjay Patel 2016-02-12 22:07:54 +00:00
parent 0d7bc82046
commit 12e0a699e7

View File

@ -1,8 +1,11 @@
; 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 | grep mfence
; RUN: llc < %s -mtriple=i386-unknown-unknown -mattr=+sse2 | FileCheck %s
define void @test() {
; CHECK-LABEL: test:
; CHECK: # BB#0:
; CHECK-NEXT: mfence
; CHECK-NEXT: retl
fence seq_cst
ret void
}