projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3114fc1
)
fix test to use FileCheck
author
Sanjay Patel
<spatel@rotateright.com>
Fri, 12 Feb 2016 22:07:54 +0000
(22:07 +0000)
committer
Sanjay Patel
<spatel@rotateright.com>
Fri, 12 Feb 2016 22:07:54 +0000
(22:07 +0000)
llvm-svn: 260751
llvm/test/CodeGen/X86/mfence.ll
patch
|
blob
|
history
diff --git
a/llvm/test/CodeGen/X86/mfence.ll
b/llvm/test/CodeGen/X86/mfence.ll
index
6056add
..
e1825f2
100644
(file)
--- a/
llvm/test/CodeGen/X86/mfence.ll
+++ b/
llvm/test/CodeGen/X86/mfence.ll
@@
-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
}
+