[PATCH] D73414: AMDGPU/GlobalISel: Do a better job splitting 64-bit G_SEXT_INREG

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 25 06:35:11 PST 2020


arsenm created this revision.
arsenm added reviewers: nhaehnle, kerbowa, cdevadas.
Herald added subscribers: Petar.Avramovic, hiraditya, t-tye, tpr, dstuttard, rovka, yaxunl, wdng, jvesely, kzhuravl.
Herald added a project: LLVM.
arsenm added a parent revision: D73396: AMDGPU/GlobalISel: Select G_SEXT_INREG.

We don't need to expand to full shifts for the > 32-bit case. This
just switches to a sext_inreg of the high half.


https://reviews.llvm.org/D73414

Files:
  llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
  llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-sext-inreg.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73414.240374.patch
Type: text/x-patch
Size: 8588 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200125/811d09ea/attachment.bin>


More information about the llvm-commits mailing list