1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/test/CodeGen/PowerPC/func-addr-consts.ll
Stefan Pintilie 36931cd8d0 Revert "[PowerPC] Make no-PIC default to match GCC - LLVM"
This reverts commit r347069

llvm-svn: 347076
2018-11-16 19:24:23 +00:00

17 lines
565 B
LLVM

; RUN: llc < %s | FileCheck %s
target datalayout = "E-m:e-i64:64-n32:64"
target triple = "powerpc64--linux"
@g = internal constant i8* bitcast (void ()* @f to i8*), section "gsection", align 8
@h = constant i8* bitcast (void ()* @f to i8*), section "hsection", align 8
@llvm.used = appending global [2 x i8*] [i8* bitcast (i8** @g to i8*), i8* bitcast (i8** @h to i8*)], section "llvm.metadata"
; Function Attrs: nounwind uwtable
define internal void @f() {
entry:
ret void
}
; CHECK: .section gsection,"aw",@progbits
; CHECK: .section hsection,"aw",@progbits