[PATCH] D64725: AMDGPU/GlobalISel: Select G_SHL

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 15 05:56:14 PDT 2019


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

I think this manages to not break the DAG handling with the divergent
predicates because the stadalone divergent patterns end up with a
higher priority than the pattern on the instruction definition.

      

The 16-bit versions don't work yet.


https://reviews.llvm.org/D64725

Files:
  lib/Target/AMDGPU/SOPInstructions.td
  lib/Target/AMDGPU/VOP2Instructions.td
  lib/Target/AMDGPU/VOP3Instructions.td
  test/CodeGen/AMDGPU/GlobalISel/inst-select-shl.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64725.209821.patch
Type: text/x-patch
Size: 36442 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190715/0f24d5b0/attachment.bin>


More information about the llvm-commits mailing list