[PATCH] D134967: [AMDGPU] Always lower SHUFFLE_VECTOR

Pierre van Houtryve via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 30 07:57:01 PDT 2022


Pierre-vh created this revision.
Pierre-vh added a reviewer: arsenm.
Herald added subscribers: kosarev, foad, kerbowa, hiraditya, t-tye, tpr, dstuttard, yaxunl, nhaehnle, jvesely, kzhuravl.
Herald added a project: All.
Pierre-vh requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

Make it illegal, remove InstructionSelector logic for it and add a new ALIGNBIT pattern to fix some minor codegen regressions (udot/sdot tests).

Depends on D134354 <https://reviews.llvm.org/D134354>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D134967

Files:
  llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
  llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h
  llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
  llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.h
  llvm/lib/Target/AMDGPU/SIInstructions.td
  llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-shuffle-vector.v2s16.mir
  llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-shuffle-vector.s16.mir
  llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-shuffle-vector.mir
  llvm/test/CodeGen/AMDGPU/mad-mix.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134967.464281.patch
Type: text/x-patch
Size: 69237 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220930/cc2b92a1/attachment.bin>


More information about the llvm-commits mailing list