repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Bump version to 19.1.0-rc3
[llvm-project.git]
/
llvm
/
test
/
CodeGen
/
Mips
/
private-addr.ll
blob
d5e426274666d4f95d9d4f2be647050e57f60952
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 ptr @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 ptr @bar
14
}