[PATCH] D144907: [RegAllocFast] insert additional spills along indirect edges of INLINEASM_BR
Matthias Braun via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 27 16:07:14 PST 2023
MatzeB 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);
----------------
Probably better to use the `getMBBBeginInsertionPoint()` function instead of `Succ->begin()`.
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