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
[ARM] Cortex-M4 schedule additions
[llvm-complete.git]
/
test
/
CodeGen
/
Mips
/
private-addr.ll
blob
37dd6fe53c40b5fc225960b39c1ac395a14c3eba
1
; RUN: llc -mtriple=mips-pc-linux -relocation-model=pic < %s | FileCheck %s
2
3
define private void @bar() {
4
ret void
5
}
6
7
define void()* @foo() {
8
; CHECK: foo:
9
; CHECK: lw $[[REG:.*]], %got($bar)($1)
10
; CHECK-NEXT: jr $ra
11
; CHECK-NEXT: addiu $2, $[[REG]], %lo($bar)
12
13
ret void()* @bar
14
}