mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-21 02:59:15 +00:00
c178981b85
llvm-svn: 47204
9 lines
240 B
LLVM
9 lines
240 B
LLVM
; 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
|
|
}
|