register constraints. NFCI.
Now that X86's ST(7) constraints are fixed this check can be
reinstated.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@351207
91177308-0d34-0410-b5e6-
96231b3b80d8
// Do not check for single registers.
if (AssignedReg) {
- Regs.push_back(AssignedReg);
- --NumRegs;
- if (NumRegs) {
for (; *I != AssignedReg; ++I)
- assert(I != RC->end() && "Didn't find reg!");
- ++I;
- }
+ assert(I != RC->end() && "AssignedReg should be member of RC");
}
for (; NumRegs; --NumRegs, ++I) {