1 ; RUN: llc -verify-machineinstrs -mcpu=pwr4 -mattr=-altivec -mtriple powerpc-ibm-aix-xcoff \
2 ; RUN: -data-sections=false < %s | FileCheck %s
3 ; RUN: llc -verify-machineinstrs -mcpu=pwr4 -mattr=-altivec -mtriple powerpc64-ibm-aix-xcoff \
4 ; RUN: -data-sections=false < %s | FileCheck --check-prefix=CHECK64 %s
6 @foo_ptr = global void (...)* @foo
9 @bar_ptr1 = global void (...)* bitcast (void ()* @bar to void (...)*)
16 ;CHECK: .csect .data[RW],2
17 ;CHECK-NEXT: .globl foo_ptr
20 ;CHECK-NEXT: .vbyte 4, foo[DS]
21 ;CHECK-NEXT: .globl bar_ptr1
23 ;CHECK-NEXT: bar_ptr1:
24 ;CHECK-NEXT: .vbyte 4, bar[DS]
25 ;CHECK-NEXT: .extern .foo[PR]
26 ;CHECK-NEXT: .extern foo[DS]
28 ;CHECK64: .csect .data[RW],3
29 ;CHECK64-NEXT: .globl foo_ptr
30 ;CHECK64-NEXT: .align 3
31 ;CHECK64-NEXT: foo_ptr:
32 ;CHECK64-NEXT: .vbyte 8, foo[DS]
33 ;CHECK64-NEXT: .globl bar_ptr1
34 ;CHECK64-NEXT: .align 3
35 ;CHECK64-NEXT: bar_ptr1:
36 ;CHECK64-NEXT: .vbyte 8, bar[DS]
37 ;CHECK64-NEXT: .extern .foo[PR]
38 ;CHECK64-NEXT: .extern foo[DS]