[PATCH] D155740: AMDGPU: Refactor AMDGPUCodeGenPrepare fdiv handling

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 19 12:24:34 PDT 2023


arsenm created this revision.
arsenm added reviewers: AMDGPU, foad, b-sumner, rampitec, Pierre-vh.
Herald added subscribers: StephenFan, kerbowa, hiraditya, tpr, dstuttard, yaxunl, jvesely, kzhuravl.
Herald added a project: All.
arsenm requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.

NFC-ish. Does trigger some reordering of the fdiv scalarization. Also
skips scalarizing in more cases where nothing was going to happen. We
can still scalarize in some no-op edge cases.


https://reviews.llvm.org/D155740

Files:
  llvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
  llvm/test/CodeGen/AMDGPU/amdgpu-codegenprepare-fdiv.ll
  llvm/test/CodeGen/AMDGPU/fdiv.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155740.542149.patch
Type: text/x-patch
Size: 231373 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230719/d3d20a59/attachment-0001.bin>


More information about the llvm-commits mailing list