[PATCH] D114700: AMDGPU/GlobalISel: Fix constant bus restriction errors for med3

Petar Avramovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 30 03:44:43 PST 2021


Petar.Avramovic updated this revision to Diff 390659.
Petar.Avramovic edited the summary of this revision.
Petar.Avramovic added a comment.

Make all operands vgpr for med3. Find already existing copies to vgpr for constants.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D114700/new/

https://reviews.llvm.org/D114700

Files:
  llvm/lib/Target/AMDGPU/AMDGPURegBankCombiner.cpp
  llvm/test/CodeGen/AMDGPU/GlobalISel/regbankcombiner-smed3.mir
  llvm/test/CodeGen/AMDGPU/GlobalISel/regbankcombiner-umed3.mir
  llvm/test/CodeGen/AMDGPU/GlobalISel/smed3.ll
  llvm/test/CodeGen/AMDGPU/GlobalISel/umed3.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114700.390659.patch
Type: text/x-patch
Size: 68167 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211130/6dfe0764/attachment.bin>


More information about the llvm-commits mailing list