Mercurial > hg > Members > tobaru > cbc > CbC_llvm
view test/CodeGen/Hexagon/pic-local.ll @ 128:c347d3398279 default tip
fix
author | mir3636 |
---|---|
date | Wed, 06 Dec 2017 14:37:17 +0900 |
parents | 803732b1fca8 |
children |
line wrap: on
line source
; 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 }