HomePhabricator

Support a list of CostPerUse values

Authored by cdevadas on Dec 22 2020, 9:21 PM.

Description

Support a list of CostPerUse values

This patch allows targets to define multiple cost
values for each register so that the cost model
can be more flexible and better used during the
register allocation as per the target requirements.

For AMDGPU the VGPR allocation will be more efficient
if the register cost can be associated dynamically
based on the calling convention.

Reviewed By: qcolombet

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

Details

Committed
cdevadasJan 28 2021, 8:44 PM
Reviewer
qcolombet
Differential Revision
D86836: Support a list of CostPerUse values
Parents
rGb2545b71d121: [lldb] Use `foo is None` instead of `not foo` in darwin.py
Branches
Unknown
Tags
Unknown