Debian Codegraph @

llvm/test/CodeGen/PowerPC/func-addr-consts.ll

raw
1 ; RUN: llc < %s | FileCheck %s
2 target datalayout = "E-m:e-i64:64-n32:64"
3 target triple = "powerpc64--linux"
4
5 @g = internal constant ptr @f, section "gsection", align 8
6 @h = constant ptr @f, section "hsection", align 8
7 @llvm.used = appending global [2 x ptr] [ptr @g, ptr @h], section "llvm.metadata"
8
9 ; Function Attrs: nounwind uwtable
10 define internal void @f() {
11 entry:
12 ret void
13 }
14
15 ; CHECK: .section gsection,"awR",@progbits
16 ; CHECK: .section hsection,"awR",@progbits