mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-23 16:19:52 +00:00
[ARM] Enable changing instprinter's behavior based on the per-function
subtarget. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233451 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
12
test/CodeGen/ARM/print-memb-operand.ll
Normal file
12
test/CodeGen/ARM/print-memb-operand.ll
Normal file
@@ -0,0 +1,12 @@
|
||||
; RUN: llc -mtriple=armv7 %s -o - | FileCheck %s
|
||||
|
||||
; CHECK: dmb ld
|
||||
|
||||
define void @test2() #0 {
|
||||
call void @llvm.arm.dmb(i32 13)
|
||||
ret void
|
||||
}
|
||||
|
||||
declare void @llvm.arm.dmb(i32)
|
||||
|
||||
attributes #0 = { "target-cpu"="cyclone" }
|
||||
Reference in New Issue
Block a user