repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git]
/
test
/
CodeGen
/
Hexagon
/
namedreg.ll
blob
72ca50868828f712b8072508710db971836e03cf
1
; RUN: llc -mattr=+reserved-r19 -march=hexagon < %s | FileCheck %s
2
define dso_local i32 @r19f() #0 {
3
entry:
4
%0 = call i32 @llvm.read_register.i32(metadata !0)
5
ret i32 %0
6
}
7
8
declare i32 @llvm.read_register.i32(metadata) #1
9
10
!llvm.named.register.r19 = !{!0}
11
12
!0 = !{!"r19"}
13
; CHECK: r0 = r19