New PM pass that merges disjoint stack slots to reduce frame size.
Declared in <llvm/CodeGen/StackColoring.h>
class StackColoringPass
: public RequiredPassInfoMixin<StackColoringPass>
Uses LIFETIME_START and LIFETIME_END markers to find non-overlapping stack allocations and color them onto shared slots. Distinct from StackSlotColoring, which optimizes spill slots.
| Name | Description |
|---|---|
RequiredPassInfoMixin<StackColoringPass> | A CRTP mix-in for passes that should not be skipped. |
| Name | Description |
|---|---|
run | Merge disjoint stack slots in MF. |
| Name | Description |
|---|---|
isRequired | Return true; required passes cannot be skipped. |