[PATCH] D144907: [RegAllocFast] insert additional spills along indirect edges of INLINEASM_BR
Nick Desaulniers via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 28 09:43:06 PST 2023
nickdesaulniers added inline comments.
================
Comment at: llvm/lib/CodeGen/RegAllocFast.cpp:957
+ if (Succ->isInlineAsmBrIndirectTarget()) {
+ TII->storeRegToStackSlot(*Succ, Succ->begin(), PhysReg, Kill,
+ FI, &RC, TRI, VirtReg);
----------------
MatzeB wrote:
> Probably better to use the `getMBBBeginInsertionPoint()` function instead of `Succ->begin()`.
Would I need to do anything with the produced `PrologLiveIns` ?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D144907/new/
https://reviews.llvm.org/D144907
More information about the llvm-commits
mailing list