HomePhabricator

[PBQP] Callee saved regs should have a higher cost than scratch regs

Description

[PBQP] Callee saved regs should have a higher cost than scratch regs

Registers are not all equal. Some are not allocatable (infinite cost),
some have to be preserved but can be used, and some others are just free
to use.

Ensure there is a cost hierarchy reflecting this fact, so that the
allocator will favor scratch registers over callee-saved registers.

Details

Committed
aadgNov 4 2014, 12:51 PM
Parents
rL221292: [PBQP] Tweak spill costs and coalescing benefits
Branches
Unknown
Tags
Unknown

Event Timeline