21 lines · plain
1; RUN: llc -mtriple=hexagon -fp-contract=fast < %s | FileCheck %s2 3@g0 = global float 0.000000e+00, align 44@g1 = global float 1.000000e+00, align 45@g2 = global float 2.000000e+00, align 46 7; CHECK: r{{[0-9]+}} += sfmpy(r{{[0-9]+}},r{{[0-9]+}})8define void @f0() #0 {9b0:10 %v0 = load float, ptr @g0, align 411 %v1 = load float, ptr @g1, align 412 %v2 = load float, ptr @g2, align 413 %v3 = alloca float, align 414 %v4 = fmul float %v0, %v115 %v5 = fadd float %v2, %v416 store float %v5, ptr %v3, align 417 ret void18}19 20attributes #0 = { nounwind "target-cpu"="hexagonv55" }21