FMA_W_CHAIN is used when lowering fdiv f32. Prefer to select it to fmac
if there are no source modifiers, just like we do for other mad/mac and
fma/fmac cases.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D110074
[AMDGPU] Prefer fmac over fma when selecting FMA_W_CHAIN ClosedPublic Authored by foad on Sep 20 2021, 7:50 AM.
Details Summary FMA_W_CHAIN is used when lowering fdiv f32. Prefer to select it to fmac
Diff Detail
Event TimelineHerald added subscribers: kerbowa, hiraditya, t-tye and 6 others. · View Herald TranscriptSep 20 2021, 7:50 AM This revision is now accepted and ready to land.Sep 20 2021, 4:49 PM This revision was landed with ongoing or failed builds.Sep 21 2021, 4:03 AM Closed by commit rG598bebeaa645: [AMDGPU] Prefer fmac over fma when selecting FMA_W_CHAIN (authored by foad). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 373840 llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
llvm/test/CodeGen/AMDGPU/fdiv.ll
llvm/test/CodeGen/AMDGPU/frem.ll
|