mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-13 06:06:27 +00:00
9 lines
227 B
LLVM
9 lines
227 B
LLVM
|
; RUN: llvm-as < %s | llc -march=alpha | grep wmb
|
||
|
|
||
|
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
|
||
|
}
|