[PATCH] D111223: [GlobalISel] Pass RegBankSelect to applyMapping
Sebastian Neubauer via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 6 05:58:03 PDT 2021
sebastian-ne created this revision.
sebastian-ne added reviewers: arsenm, foad, aemerson, paquette.
Herald added subscribers: kerbowa, pengfei, atanasyan, jrtc27, hiraditya, tpr, rovka, nhaehnle, jvesely, sdardis.
sebastian-ne requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.
Adjust RegBankSelect, so that applyMapping can tell RegBankSelect about
newly created basic blocks and set the iterator to handle new or moved
instructions.
I hope this is cleaner as the RegBankSelect pass doesn't need to guess
what changed and work around that (and it works with an upcoming change
for supporting divergent calls in amdgpu).
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D111223
Files:
llvm/include/llvm/CodeGen/GlobalISel/RegBankSelect.h
llvm/include/llvm/CodeGen/GlobalISel/RegisterBankInfo.h
llvm/lib/CodeGen/GlobalISel/RegBankSelect.cpp
llvm/lib/Target/AArch64/GISel/AArch64RegisterBankInfo.cpp
llvm/lib/Target/AArch64/GISel/AArch64RegisterBankInfo.h
llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.h
llvm/lib/Target/Mips/MipsRegisterBankInfo.cpp
llvm/lib/Target/Mips/MipsRegisterBankInfo.h
llvm/lib/Target/X86/X86RegisterBankInfo.cpp
llvm/lib/Target/X86/X86RegisterBankInfo.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111223.377514.patch
Type: text/x-patch
Size: 23402 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211006/d346079a/attachment.bin>
More information about the llvm-commits
mailing list