19 lines · plain
1; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-unknown < %s | \2; RUN: FileCheck %s3 4@glob = local_unnamed_addr global <4 x float> zeroinitializer, align 45 6; Function Attrs: norecurse nounwind7define void @test(float %a, ptr nocapture readonly %b) {8; CHECK-LABEL: test9; CHECK: xscvdpspn [[REG:[0-9]+]], 110; CHECK: xxspltw {{[0-9]+}}, [[REG]], 011entry:12 %splat.splatinsert = insertelement <4 x float> undef, float %a, i32 013 %splat.splat = shufflevector <4 x float> %splat.splatinsert, <4 x float> undef, <4 x i32> zeroinitializer14 %0 = load <4 x float>, ptr %b, align 415 %mul = fmul <4 x float> %splat.splat, %016 store <4 x float> %mul, ptr @glob, align 417 ret void18}19