llvm.org GIT mirror llvm / release_25 test / CodeGen / X86 / lfence.ll
release_25

Tree @release_25 (Download .tar.gz)

lfence.ll @release_25raw · history · blame

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

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

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