mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 13:28:06 +02:00
aco/ra: always block register file for precolored operands
so that they don't accidentally get renamed. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31387>
This commit is contained in:
parent
18e7e8d8f0
commit
ef47cce51c
1 changed files with 3 additions and 1 deletions
|
|
@ -346,7 +346,9 @@ public:
|
|||
void fill_killed_operands(Instruction* instr)
|
||||
{
|
||||
for (Operand& op : instr->operands) {
|
||||
if (op.isFixed() && op.isFirstKillBeforeDef()) {
|
||||
if (op.isPrecolored()) {
|
||||
block(op.physReg(), op.regClass());
|
||||
} else if (op.isFixed() && op.isFirstKillBeforeDef()) {
|
||||
if (op.regClass().is_subdword())
|
||||
fill_subdword(op.physReg(), op.bytes(), op.tempId());
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue