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
/
PowerPC
/
named-reg-alloc-r1-64.ll
blob
080b1982c88cbff3a7559e37a8ca4aeacea7554a
1
; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc64-unknown-linux-gnu 2>&1 | FileCheck %s
2
3
define i64 @get_reg() nounwind {
4
entry:
5
%reg = call i64 @llvm.read_register.i64(metadata !0)
6
ret i64 %reg
7
8
; CHECK-LABEL: get_reg
9
; CHECK: mr 3, 1
10
}
11
12
declare i64 @llvm.read_register.i64(metadata) nounwind
13
14
!0 = !{!"r1\00"}