HomePhabricator

[Statepoints] Spill GC Ptr regs in FixupStatepoints.

Authored by dantrushin on Jun 10 2020, 6:52 AM.

Description

[Statepoints] Spill GC Ptr regs in FixupStatepoints.

Extend FixupStatepointCallerSaved pass with ability to spill
statepoint GC pointer arguments (optionally allowing them on CSRs).
Special handling is required for invoke statepoints, because at MI
level single landing pad may be shared by multiple statepoints, so
we must ensure we spill landing pad's live-ins into the same stack
slots.

Full statepoint refactoring change set is available at D81603.

Reviewed By: skatkov

Differential Revision: https://reviews.llvm.org/D81647

Details

Committed
dantrushinAug 14 2020, 6:21 AM
Reviewer
skatkov
Differential Revision
D81647: MIR Statepoint refactoring. Part 3: Spill GC Ptr regs.
Parents
rG2f01af764b69: [VE] Remove obsolete I8/I16 register classes
Branches
Unknown
Tags
Unknown