Add code to respect mad-mac-f32-insts target feature.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D81990
AMDGPU/GlobalISel: Remove selection of MAD/MAC when not available ClosedPublic Authored by critson on Jun 16 2020, 9:57 PM.
Details Summary Add code to respect mad-mac-f32-insts target feature.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jun 18 2020, 8:15 AM Closed by commit rG8f3b2c8aa317: AMDGPU/GlobalISel: Remove selection of MAD/MAC when not available (authored by critson). · Explain WhyJun 18 2020, 6:36 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 271891 llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fmad.s32.mir
llvm/test/CodeGen/AMDGPU/GlobalISel/udiv.i64.ll
llvm/test/CodeGen/AMDGPU/GlobalISel/urem.i64.ll
|
I think it's a bit much to have this giant extra test just for this. Can you just add a run line to legalize-fmad.* instead?