[PATCH] D75086: [AArch64][GlobalISel] Fixup <32b heterogeneous regbanks of G_PHIs just before selection.
Amara Emerson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 26 10:13:36 PST 2020
aemerson added a comment.
Forgot to answer your first question:
> Why do you have to fix-up the PHIs before selection?
The reason I'm doing this before selection is that by the time we get to a G_PHI, if it's part of a cycle, then an operand register will also be a selected instruction. If I do it before selection, then they should still have generic types and regbanks, and adding COPY instructions is simple because the existing COPY selection code can be harnessed to generate the right SUBREG_TO_REG/whatever.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D75086/new/
https://reviews.llvm.org/D75086
More information about the llvm-commits
mailing list