[NFC][RemoveDIs] Prefer iterators over inst-pointers in InstCombine
[llvm-project.git] / llvm / test / CodeGen / PowerPC / aix-readonly-with-relocation.ll
blobde91ffc71e71311a02d634f1fd674cf65966dfb4
1 ; RUN: llc -verify-machineinstrs -mcpu=pwr4 -mtriple powerpc-ibm-aix-xcoff \
2 ; RUN:     --relocation-model=pic -data-sections=false < %s | FileCheck %s
3 ; RUN: llc -verify-machineinstrs -mcpu=pwr4 -mtriple powerpc64-ibm-aix-xcoff \
4 ; RUN:     --relocation-model=pic -data-sections=false < %s | FileCheck --check-prefix=CHECK64 %s
6 @a = common global i32 0
7 @b = constant ptr @a
9 ;CHECK:         .comm   a[RW],4,2
10 ;CHECK-NEXT:    .csect .data[RW],2
11 ;CHECK-NEXT:    .globl  b
12 ;CHECK-NEXT:    .align  2
13 ;CHECK-NEXT: b:
14 ;CHECK-NEXT:    .vbyte  4, a
16 ;CHECK64:       .comm   a[RW],4,2
17 ;CHECK64-NEXT:  .csect .data[RW],3
18 ;CHECK64-NEXT:  .globl  b
19 ;CHECK64-NEXT:  .align  3
20 ;CHECK64-NEXT: b:
21 ;CHECK64-NEXT:  .vbyte  8, a