mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-21 18:29:46 +00:00
method. This enables the instprinter to print a different system register name based on the feature bits of the per-function subtarget. Differential Revision: http://reviews.llvm.org/D8668 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233412 91177308-0d34-0410-b5e6-96231b3b80d8
12 lines
254 B
LLVM
12 lines
254 B
LLVM
; RUN: llc -mtriple=arm64-apple-darwin %s -o - | FileCheck %s
|
|
|
|
; CHECK: mrs x0, CPM_IOACC_CTL_EL3
|
|
|
|
define void @foo1() #0 {
|
|
entry:
|
|
tail call void asm sideeffect "mrs x0, cpm_ioacc_ctl_el3", ""()
|
|
ret void
|
|
}
|
|
|
|
attributes #0 = { "target-cpu"="cyclone" }
|