[PATCH] D75547: [AMDGPU][GlobalISel] Revise handling of wide loads in RegBankSelect
Austin Kerbow via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 3 10:56:32 PST 2020
kerbowa created this revision.
kerbowa added a reviewer: arsenm.
Herald added subscribers: llvm-commits, hiraditya, t-tye, tpr, dstuttard, rovka, yaxunl, nhaehnle, wdng, jvesely, kzhuravl.
Herald added a project: LLVM.
When splitting loads in RegBankSelect G_EXTRACT_VECTOR_ELT were being added
which could not be selected. Since invoking the legalizer will generate
instructions that split and combine wide loads, we can remove the redundant
repair instructions which are added by RegBankSelect.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D75547
Files:
llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-load.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75547.247963.patch
Type: text/x-patch
Size: 18803 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200303/e310501d/attachment.bin>
More information about the llvm-commits
mailing list