You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
294 B
14 lines
294 B
; 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
|