mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-25 20:59:51 +00:00
22c5c1b2df
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47204 91177308-0d34-0410-b5e6-96231b3b80d8
9 lines
240 B
LLVM
9 lines
240 B
LLVM
; 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
|
|
}
|