[PATCH] D101992: AMDGPU/GlobalISel: Use destination register bank in applyMappingLoad
Petar Avramovic via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 6 06:17:46 PDT 2021
Petar.Avramovic created this revision.
Petar.Avramovic added reviewers: foad, arsenm.
Herald added subscribers: kerbowa, hiraditya, t-tye, tpr, dstuttard, rovka, yaxunl, nhaehnle, jvesely, kzhuravl.
Petar.Avramovic requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.
Large loads on target that does not useFlatForGlobal have to be split
in regbankselect. This did not happen in case when destination had vgpr
bank and address had sgpr bank.
Instead of checking if address bank is sgpr check bank of the destination.
https://reviews.llvm.org/D101992
Files:
llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
llvm/test/CodeGen/AMDGPU/GlobalISel/load-constant.96.ll
llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-uniform-load-noclobber.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101992.343385.patch
Type: text/x-patch
Size: 10019 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210506/65607728/attachment.bin>
More information about the llvm-commits
mailing list