[PATCH] D118302: [Spill2Reg] Code generation part 2.
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 3 15:30:57 PST 2022
arsenm added inline comments.
================
Comment at: llvm/lib/CodeGen/Spill2Reg.cpp:248
+ MachineInstr *SpillToVector = TII->spill2RegInsertToVectorReg(
+ VectorReg, OldReg, SpillData.MemBits, StackSpill->getParent(),
+ /*InsertBeforeIt=*/StackSpill->getIterator(), TRI);
----------------
Is this assuming you can only spill one register to one vector register? What if you can place multiple values in different subregisters?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D118302/new/
https://reviews.llvm.org/D118302
More information about the llvm-commits
mailing list