mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-26 05:32:25 +00:00
7 lines
227 B
LLVM
7 lines
227 B
LLVM
|
; 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
|
||
|
}
|