1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc -mcpu=pwr9 -mtriple=powerpc64le-unknown-unknown \
3 ; RUN: -verify-machineinstrs -ppc-asm-full-reg-names \
4 ; RUN: -ppc-vsr-nums-as-vr < %s | FileCheck %s
6 @best8x8mode = external dso_local local_unnamed_addr global [4 x i16], align 2
7 define dso_local void @AlignDSForm() local_unnamed_addr {
8 ; CHECK-LABEL: AlignDSForm:
9 ; CHECK: # %bb.0: # %entry
10 ; CHECK-NEXT: addis r3, r2, best8x8mode@toc@ha
11 ; CHECK-NEXT: addi r3, r3, best8x8mode@toc@l
12 ; CHECK-NEXT: ld r3, 0(r3)
13 ; CHECK-NEXT: std r3, 0(r3)
15 %0 = load <4 x i16>, ptr @best8x8mode, align 2
16 store <4 x i16> %0, ptr undef, align 4