1 ; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-unknown < %s | \
4 @glob = local_unnamed_addr global <4 x float> zeroinitializer, align 4
6 ; Function Attrs: norecurse nounwind
7 define void @test(float %a, ptr nocapture readonly %b) {
9 ; CHECK: xscvdpspn [[REG:[0-9]+]], 1
10 ; CHECK: xxspltw {{[0-9]+}}, [[REG]], 0
12 %splat.splatinsert = insertelement <4 x float> undef, float %a, i32 0
13 %splat.splat = shufflevector <4 x float> %splat.splatinsert, <4 x float> undef, <4 x i32> zeroinitializer
14 %0 = load <4 x float>, ptr %b, align 4
15 %mul = fmul <4 x float> %splat.splat, %0
16 store <4 x float> %mul, ptr @glob, align 4