Files
clang-p2996/llvm/test/CodeGen/AMDGPU/fdot2.ll
Piotr Sobczak a2d086af2c [AMDGPU] Fix FMA combine (#119217)
Update the check in the FMA combine to check dot10-insts instead of
dot7-insts.

The target of the combine, v_dot2_f32_f16, is available only if
dot10-insts target feature is enabled.

The issue probably dates back to the change that split out dot10-insts
out of dot7-insts.

As far as I can see, this does not affect any current targets, but if a
future target has dot7-insts, but not dot10-insts that would cause a
crash ("cannot select") for the input ir in the test.
2024-12-10 10:11:19 +01:00

9.6 KiB