mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Clarify that higher priority means higher values.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233744 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8e4eaabdb8
commit
9df365e44e
@ -209,9 +209,9 @@ class RegisterClass<string namespace, list<ValueType> regTypes, int alignment,
|
||||
code AltOrderSelect = [{}];
|
||||
|
||||
// Specify allocation priority for register allocators using a greedy
|
||||
// heuristic. Classes with high priority are assigned first. It is sometimes
|
||||
// beneficial to assign registers to highly constrained classes first.
|
||||
// The priority has to be in the range [0,63].
|
||||
// heuristic. Classes with higher priority values are assigned first. This is
|
||||
// useful as it is sometimes beneficial to assign registers to highly
|
||||
// constrained classes first. The value has to be in the range [0,63].
|
||||
int AllocationPriority = 0;
|
||||
}
|
||||
|
||||
|
@ -46,8 +46,8 @@ public:
|
||||
const uint32_t *SubClassMask;
|
||||
const uint16_t *SuperRegIndices;
|
||||
const unsigned LaneMask;
|
||||
/// Classes with high priority should be assigned first by register allocators
|
||||
/// with a greedy heuristic. The priority is a value in the range [0,63].
|
||||
/// Classes with a higher priority value are assigned first by register
|
||||
/// allocators using a greedy heuristic. The value is in the range [0,63].
|
||||
const uint8_t AllocationPriority;
|
||||
/// Whether the class supports two (or more) disjunct subregister indices.
|
||||
const bool HasDisjunctSubRegs;
|
||||
|
Loading…
Reference in New Issue
Block a user