[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:
Akira Hatanaka
2015-03-27 23:41:42 +00:00
parent 4bb318dc49
commit 57e9efecb0
4 changed files with 284 additions and 137 deletions

View 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" }