llvm.org GIT mirror llvm / 045ca86
Remove an overly-aggressive assertion. The code following this assertion already knows how to handle the case where DstRC was NULL, so it's not actually protecting us from anything, and this pattern can come up when using unknown_class operands in the SelectionDAG. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163736 91177308-0d34-0410-b5e6-96231b3b80d8 Owen Anderson 7 years ago
1 changed file(s) with 0 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
313313 const TargetRegisterClass *DstRC = 0;
314314 if (IIOpNum < II->getNumOperands())
315315 DstRC = TRI->getAllocatableClass(TII->getRegClass(*II,IIOpNum,TRI,*MF));
316 assert((DstRC || (MI->isVariadic() && IIOpNum >= MCID.getNumOperands())) &&
317 "Don't have operand info for this instruction!");
318316 if (DstRC && !MRI->constrainRegClass(VReg, DstRC, MinRCSize)) {
319317 unsigned NewVReg = MRI->createVirtualRegister(DstRC);
320318 BuildMI(*MBB, InsertPos, Op.getNode()->getDebugLoc(),