nv50_ir: Remove dead variable

Nothing ever read from fixedReg, so drop it.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24541>
This commit is contained in:
M Henning
2022-06-05 23:04:33 -04:00
committed by Marge Bot
parent e573440a5d
commit ee3d6aa87d
3 changed files with 1 additions and 4 deletions
@@ -226,7 +226,6 @@ LValue::LValue(Function *fn, DataFile file)
compMask = 0;
compound = 0;
ssa = 0;
fixedReg = 0;
noSpill = 0;
fn->add(this, this->id);
@@ -243,7 +242,6 @@ LValue::LValue(Function *fn, LValue *lval)
compMask = 0;
compound = 0;
ssa = 0;
fixedReg = 0;
noSpill = 0;
fn->add(this, this->id);
@@ -783,7 +783,6 @@ public:
unsigned compMask : 8; // compound/component mask
unsigned compound : 1; // used by RA, value involved in split/merge
unsigned ssa : 1;
unsigned fixedReg : 1; // set & used by RA, earlier just use (id < 0)
unsigned noSpill : 1; // do not spill (e.g. if spill temporary already)
};
@@ -797,7 +797,7 @@ GCRA::RIG_Node::init(const RegisterSet& regs, LValue *lval)
{
setValue(lval);
if (lval->reg.data.id >= 0)
lval->noSpill = lval->fixedReg = 1;
lval->noSpill = 1;
colors = regs.units(lval->reg.file, lval->reg.size);
f = lval->reg.file;