[PATCH] D74236: AMDGPU/GlobalISel: Select G_CTLZ_ZERO_UNDEF

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 7 10:17:18 PST 2020


arsenm created this revision.
arsenm added reviewers: nhaehnle, kerbowa.
Herald added subscribers: Petar.Avramovic, hiraditya, t-tye, tpr, dstuttard, rovka, yaxunl, wdng, jvesely, kzhuravl.
Herald added a project: LLVM.

Directly select this rather than going through the intermediate
instruction, which may provide some combine value in the future.


https://reviews.llvm.org/D74236

Files:
  llvm/lib/Target/AMDGPU/AMDGPUGISel.td
  llvm/lib/Target/AMDGPU/AMDGPUInstrInfo.td
  llvm/lib/Target/AMDGPU/SOPInstructions.td
  llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-ctlz-zero-undef.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74236.243216.patch
Type: text/x-patch
Size: 4800 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200207/99f222f5/attachment-0001.bin>


More information about the llvm-commits mailing list