1 # RUN: llvm-mc -triple powerpc64le-unknown-linux-gnu %s -filetype=obj -o - | \
2 # RUN: llvm-objdump -D -r - | FileCheck %s
11 addis 2, 12, .TOC.-.Lgep@ha
12 addi 2, 2, .TOC.-.Lgep@l
14 .localentry test, .Llep-.Lgep
15 addis 3, 2, vecA@toc@ha
17 addis 3, 2, vecB@toc@ha
24 # CHECK: Disassembly of section .text:
26 # CHECK-NEXT: addis 2, 12, 0
27 # CHECK-NEXT: R_PPC64_REL16_HA .TOC.
28 # CHECK-NEXT: addi 2, 2, 0
29 # CHECK-NEXT: R_PPC64_REL16_LO .TOC.
30 # CHECK-NEXT: addis 3, 2, 0
31 # CHECK-NEXT: R_PPC64_TOC16_HA vecA
32 # CHECK-NEXT: lxv 3, 0(3)
33 # CHECK-NEXT: R_PPC64_TOC16_LO_DS vecA
34 # CHECK-NEXT: addis 3, 2, 0
35 # CHECK-NEXT: R_PPC64_TOC16_HA vecB
36 # CHECK-NEXT: stxv 3, 0(3)
37 # CHECK-NEXT: R_PPC64_TOC16_LO_DS vecB