llvm.org GIT mirror llvm / release_28 test / CodeGen / X86 / barrier.ll
release_28

Tree @release_28 (Download .tar.gz)

barrier.ll @release_28raw · history · blame

1
2
3
4
5
6
7
; RUN: llc < %s -march=x86 -mattr=-sse2 | grep lock
declare void @llvm.memory.barrier( i1 , i1 , i1 , i1 , i1)

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