File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -166,8 +166,9 @@ class Register<string n, list<string> altNames = []> {
166
166
// CostPerUse - Additional cost of instructions using this register compared
167
167
// to other registers in its class. The register allocator will try to
168
168
// minimize the number of instructions using a register with a CostPerUse.
169
- // This is used by the x86-64 and ARM Thumb targets where some registers
170
- // require larger instruction encodings.
169
+ // This is used by the ARC target, by the ARM Thumb and x86-64 targets, where
170
+ // some registers require larger instruction encodings, by the RISC-V target,
171
+ // where some registers preclude using some C instructions.
171
172
int CostPerUse = 0;
172
173
173
174
// CoveredBySubRegs - When this bit is set, the value of this register is
You can’t perform that action at this time.
0 commit comments