[PATCH] D70493: [StackMaps] Avoid crash when a call follows a patchpoint
Adrian Prantl via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 21 15:15:47 PST 2019
aprantl added inline comments.
================
Comment at: llvm/lib/CodeGen/StackMaps.cpp:264
if ((Mask[Reg / 32] >> (Reg % 32)) & 1)
- LiveOuts.push_back(createLiveOutReg(Reg, TRI));
+ if (TRI->isInAllocatableClass(Reg))
+ LiveOuts.push_back(createLiveOutReg(Reg, TRI));
----------------
Disclaimer: I know nothing about LLVM's StackMap implementation.
Is it safe to just ignore it here? In `CodeGen/AsmPrinter/DwarfExpression.cpp` we have code to compose a register without a Dwarf number out of sub- or super-registers.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D70493/new/
https://reviews.llvm.org/D70493
More information about the llvm-commits
mailing list