1; RUN: llc -verify-machineinstrs -mcpu=pwr9 \ 2; RUN: -mtriple=powerpc64le-unknown-linux-gnu < %s | FileCheck %s 3 4; Ensure we don't crash by trying to convert directly from a subword load 5; to a ppc_fp128 as we do for conversions to f32/f64. 6define ppc_fp128 @test(i16* nocapture readonly %Ptr) { 7entry: 8 %0 = load i16, i16* %Ptr, align 2 9 %conv = uitofp i16 %0 to ppc_fp128 10 ret ppc_fp128 %conv 11; CHECK: lhz [[LD:[0-9]+]], 0(3) 12; CHECK: mtvsrwa [[MV:[0-9]+]], [[LD]] 13; CHECK: xscvsxddp [[CONV:[0-9]+]], [[MV]] 14; CHECK: bl __gcc_qadd 15} 16