mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-19 04:32:19 +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 = [{}];
|
code AltOrderSelect = [{}];
|
||||||
|
|
||||||
// Specify allocation priority for register allocators using a greedy
|
// Specify allocation priority for register allocators using a greedy
|
||||||
// heuristic. Classes with high priority are assigned first. It is sometimes
|
// heuristic. Classes with higher priority values are assigned first. This is
|
||||||
// beneficial to assign registers to highly constrained classes first.
|
// useful as it is sometimes beneficial to assign registers to highly
|
||||||
// The priority has to be in the range [0,63].
|
// constrained classes first. The value has to be in the range [0,63].
|
||||||
int AllocationPriority = 0;
|
int AllocationPriority = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -46,8 +46,8 @@ public:
|
|||||||
const uint32_t *SubClassMask;
|
const uint32_t *SubClassMask;
|
||||||
const uint16_t *SuperRegIndices;
|
const uint16_t *SuperRegIndices;
|
||||||
const unsigned LaneMask;
|
const unsigned LaneMask;
|
||||||
/// Classes with high priority should be assigned first by register allocators
|
/// Classes with a higher priority value are assigned first by register
|
||||||
/// with a greedy heuristic. The priority is a value in the range [0,63].
|
/// allocators using a greedy heuristic. The value is in the range [0,63].
|
||||||
const uint8_t AllocationPriority;
|
const uint8_t AllocationPriority;
|
||||||
/// Whether the class supports two (or more) disjunct subregister indices.
|
/// Whether the class supports two (or more) disjunct subregister indices.
|
||||||
const bool HasDisjunctSubRegs;
|
const bool HasDisjunctSubRegs;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user