You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
; RUN: llc -mtriple=mips-pc-linux -relocation-model=pic < %s | FileCheck %s
|
|
|
|
define private void @bar() {
|
|
ret void
|
|
}
|
|
|
|
define void()* @foo() {
|
|
; CHECK: foo:
|
|
; CHECK: lw $[[REG:.*]], %got($bar)($1)
|
|
; CHECK-NEXT: jr $ra
|
|
; CHECK-NEXT: addiu $2, $[[REG]], %lo($bar)
|
|
|
|
ret void()* @bar
|
|
}
|