aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/AArch64/print-mrs-system-register.ll
blob: 3411ed6161bdbdf6ad68dbea70dcfe13e967b051 (plain)
1
2
3
4
5
6
7
8
9
10
11
; 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" }