1 ; RUN: llc -mattr=+reserved-r19 -march=hexagon < %s | FileCheck %s
2 define dso_local i32 @r19f() #0 {
4 %0 = call i32 @llvm.read_register.i32(metadata !0)
7 declare i32 @llvm.read_register.i32(metadata) #1
9 define dso_local i32 @rcs0() #0 {
11 %0 = call i32 @llvm.read_register.i32(metadata !1)
15 define dso_local i32 @rcs1() #0 {
17 %0 = call i32 @llvm.read_register.i32(metadata !2)
23 !llvm.named.register.r19 = !{!0}
24 !llvm.named.register.cs0 = !{!1}
25 !llvm.named.register.cs1 = !{!2}