reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
; RUN: llc -mattr=+reserved-r19 -march=hexagon < %s | FileCheck %s
define dso_local i32 @r19f() #0 {
entry:
  %0 = call i32 @llvm.read_register.i32(metadata !0)
  ret i32 %0
}

declare i32 @llvm.read_register.i32(metadata) #1

!llvm.named.register.r19 = !{!0}

!0 = !{!"r19"}
; CHECK: r0 = r19