llvm.org GIT mirror llvm / 5b05711 test / CodeGen / X86 / mfence.ll
5b05711

Tree @5b05711 (Download .tar.gz)

mfence.ll @5b05711raw · history · blame

1
2
3
4
5
6
7
8
; 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
}