llvm.org GIT mirror llvm / 0a6ee6d test / CodeGen / X86 / sfence.ll
0a6ee6d

Tree @0a6ee6d (Download .tar.gz)

sfence.ll @0a6ee6draw · history · blame

1
2
3
4
5
6
7
8
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep sfence

declare void @llvm.memory.barrier( i1 , i1 , i1 , i1 , i1)

define void @test() {
	call void @llvm.memory.barrier( i1 false, i1 false, i1 false, i1 true, i1 true)
	ret void
}