YouCompleteMe/cpp/llvm/test/CodeGen/X86/mfence.ll

9 lines
222 B
LLVM
Raw Normal View History

2012-07-05 20:51:06 -04:00
; 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
define void @test() {
fence seq_cst
ret void
}