Files
clang-p2996/llvm/lib/CodeGen/StackMaps.cpp
Matt Arsenault 5e727e8bed [Statepoint] Treat undef operands less specially (#119682)
This reverts commit f7443905af.

This is to avoid an assertion if an undef operand appears in a
stackmap. This is important to avoid hitting verifier errors
when register allocation starts adding undefs in error scenarios.

Rather than trying to treat undef operands as special, leave them
alone and avoid producing an invalid spill. It would a bit more
precise to produce a spill of an undef register here, but that's not
exposed through the storeRegToStackSlot API.

https://reviews.llvm.org/D122605

This was an alternative to https://reviews.llvm.org/D122582
2024-12-17 12:59:46 +07:00

25 KiB