1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc -verify-machineinstrs -mcpu=pwr9 -mattr=+vsx \
3 ; RUN: -mtriple=powerpc64le-unknown-linux-gnu < %s | FileCheck %s
5 define <2 x double> @loadChainHasUser(ptr %p1, <2 x double> %v2) {
6 ; CHECK-LABEL: loadChainHasUser:
8 ; CHECK-NEXT: lxvd2x 0, 0, 3
9 ; CHECK-NEXT: stxv 34, 0(3)
10 ; CHECK-NEXT: xxlor 34, 0, 0
12 %v1 = load <2 x double>, ptr %p1
13 store <2 x double> %v2, ptr %p1, align 16
14 %v3 = shufflevector <2 x double> %v1, <2 x double> %v1, <2 x i32> < i32 1, i32 0>