hanchenye-llvm-project/llvm/test/CodeGen/X86/mfence.ll

9 lines
222 B
LLVM

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