search for: constrainedrc

Displaying 1 result from an estimated 1 matches for "constrainedrc".

Did you mean: constrained
2018 May 30
2
InstrEmitter::CreateVirtualRegisters handling of CopyToReg
...Reg)) { -            const TargetRegisterClass *RegRC = MRI->getRegClass(Reg); -            if (RegRC == RC) { +            // Allow constraining the virtual register's class within reason, +            // just like what AddRegisterOperand will allow. +            const TargetRegisterClass *ConstrainedRC +              = MRI->constrainRegClass(Reg, RC, MinRCSize); +            if (ConstrainedRC) {                VRBase = Reg;                MIB.addReg(VRBase, RegState::Define);                break;              }            }          }        } Why do the register classes currently hav...