[PATCH] D142419: AMDGPU: Restrict a select combine based on legal source mods

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 23 16:30:13 PST 2023


arsenm created this revision.
arsenm added reviewers: AMDGPU, sebastian-ne, foad, rampitec, Pierre-vh.
Herald added subscribers: kosarev, 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.

Provides a small code size savings for some f32 cases.


https://reviews.llvm.org/D142419

Files:
  llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
  llvm/test/CodeGen/AMDGPU/select-fabs-fneg-extract.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142419.491549.patch
Type: text/x-patch
Size: 4830 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230124/57c7f7a1/attachment.bin>


More information about the llvm-commits mailing list