[PATCH] D63991: AMDGPU/GlobalISel: Make s16 select legal

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 1 05:41:11 PDT 2019


arsenm created this revision.
arsenm added reviewers: tstellar, nhaehnle.
Herald added subscribers: Petar.Avramovic, t-tye, tpr, dstuttard, kristof.beyls, rovka, yaxunl, wdng, jvesely, kzhuravl.

This is easy to handle and avoids legalization artifacts which are
likely to obscure combines.


https://reviews.llvm.org/D63991

Files:
  lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
  lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
  test/CodeGen/AMDGPU/GlobalISel/inst-select-select.mir
  test/CodeGen/AMDGPU/GlobalISel/legalize-fcmp.mir
  test/CodeGen/AMDGPU/GlobalISel/legalize-icmp.mir
  test/CodeGen/AMDGPU/GlobalISel/legalize-select.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63991.207269.patch
Type: text/x-patch
Size: 22572 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190701/183c77e7/attachment-0001.bin>


More information about the llvm-commits mailing list