mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
llvm.memory.barrier, and impl for x86 and alpha
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47204 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
8
test/CodeGen/Alpha/wmb.ll
Normal file
8
test/CodeGen/Alpha/wmb.ll
Normal file
@@ -0,0 +1,8 @@
|
||||
; 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
|
||||
}
|
Reference in New Issue
Block a user