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.
20 lines
338 B
20 lines
338 B
; RUN: llc -march=hexagon -mcpu=hexagonv5 -relocation-model=pic < %s | FileCheck %s
|
|
|
|
define private void @f1() {
|
|
ret void
|
|
}
|
|
|
|
define internal void @f2() {
|
|
ret void
|
|
}
|
|
|
|
define void()* @get_f1() {
|
|
; CHECK: r0 = add(pc,##.Lf1@PCREL)
|
|
ret void()* @f1
|
|
}
|
|
|
|
define void()* @get_f2() {
|
|
; CHECK: r0 = add(pc,##f2@PCREL)
|
|
ret void()* @f2
|
|
}
|