[all-commits] [llvm/llvm-project] 03cca4: [Statepoint] Treat undef operands less specially
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Thu Dec 12 01:43:43 PST 2024
Branch: refs/heads/users/arsenm/stackmap-undef
Home: https://github.com/llvm/llvm-project
Commit: 03cca4cf3b65cb6988db7a983f3c3349fa0b390a
https://github.com/llvm/llvm-project/commit/03cca4cf3b65cb6988db7a983f3c3349fa0b390a
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-12-12 (Thu, 12 Dec 2024)
Changed paths:
M llvm/lib/CodeGen/FixupStatepointCallerSaved.cpp
M llvm/lib/CodeGen/StackMaps.cpp
A llvm/test/CodeGen/X86/stackmap-undef-operand-anyregcc.mir
M llvm/test/CodeGen/X86/statepoint-fixup-undef.mir
Log Message:
-----------
[Statepoint] Treat undef operands less specially
This reverts commit f7443905af1e06eaacda1e437fff8d54dc89c487.
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
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list