[PATCH] D64055: AMDGPU/GlobalISel: Fix G_GEP with mixed SGPR/VGPR operands
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 1 18:34: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.
The register bank for the destination of the sample argument copy was
wrong. We shouldn't be constraining each source to the result register
bank. Allow constraining the original register to the right size.
https://reviews.llvm.org/D64055
Files:
lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
test/CodeGen/AMDGPU/GlobalISel/inst-select-gep.mir
test/CodeGen/AMDGPU/GlobalISel/inst-select-load-smrd.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64055.207457.patch
Type: text/x-patch
Size: 6990 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190702/862b43e2/attachment.bin>
More information about the llvm-commits
mailing list