1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 12:02:58 +02:00
llvm-mirror/test/CodeGen/AArch64/print-mrs-system-register.ll
Akira Hatanaka bbf66d7ddc [AArch64InstPrinter] Use the feature bits of the subtarget passed to the print
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 

llvm-svn: 233412
2015-03-27 20:37:20 +00:00

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