Joerg Sonnenberger | 400e7b7 | 2016-12-15 00:01:53 +0000 | [diff] [blame] | 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 i8* bitcast (void ()* @f to i8*), section "gsection", align 8 |
| 6 | @h = constant i8* bitcast (void ()* @f to i8*), section "hsection", align 8 |
| 7 | @llvm.used = appending global [2 x i8*] [i8* bitcast (i8** @g to i8*), i8* bitcast (i8** @h to i8*)], 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,"aw",@progbits |
| 16 | ; CHECK: .section hsection,"aw",@progbits |