brintos

brintos / llvm-project-archived public Read only

0
0
Text · 324 B · a908f70 Raw
20 lines · plain
1; RUN: llc -mtriple=hexagon -mcpu=hexagonv5 -relocation-model=pic < %s | FileCheck %s2 3define private void @f1() {4  ret void5}6 7define internal void @f2() {8  ret void9}10 11define ptr @get_f1() {12  ; CHECK:  r0 = add(pc,##.Lf1@PCREL)13  ret ptr @f114}15 16define ptr @get_f2() {17  ; CHECK: r0 = add(pc,##f2@PCREL)18  ret ptr @f219}20