Use the algorithm from AMDGPUCodeGenPrepare::expandDivRem32.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D83382
[AMDGPU] Fix and simplify AMDGPUTargetLowering::LowerUDIVREM ClosedPublic Authored by foad on Jul 8 2020, 4:27 AM.
Details Summary Use the algorithm from AMDGPUCodeGenPrepare::expandDivRem32.
Diff Detail
Event Timelinefoad added a parent revision: D83381: [AMDGPU] Fix and simplify AMDGPUCodeGenPrepare::expandDivRem32.Jul 8 2020, 4:29 AM This revision is now accepted and ready to land.Jul 8 2020, 6:41 AM Closed by commit rGecac951be92b: [AMDGPU] Fix and simplify AMDGPUTargetLowering::LowerUDIVREM (authored by foad). · Explain WhyJul 8 2020, 11:15 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 276495 llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
llvm/lib/Target/AMDGPU/AMDGPUInstructions.td
llvm/lib/Target/AMDGPU/CaymanInstructions.td
llvm/lib/Target/AMDGPU/SIInstructions.td
llvm/test/CodeGen/AMDGPU/amdgpu-codegenprepare-idiv.ll
llvm/test/CodeGen/AMDGPU/bypass-div.ll
llvm/test/CodeGen/AMDGPU/sdiv.ll
llvm/test/CodeGen/AMDGPU/udivrem.ll
|