forked from OSchip/llvm-project
This assert is overly restrictive and does not work for mips16.
llvm-svn: 170667
This commit is contained in:
parent
64e25ce53d
commit
92fc33bc97
|
@ -1048,7 +1048,6 @@ LowerOperation(SDValue Op, SelectionDAG &DAG) const
|
|||
static unsigned
|
||||
AddLiveIn(MachineFunction &MF, unsigned PReg, const TargetRegisterClass *RC)
|
||||
{
|
||||
assert(RC->contains(PReg) && "Not the correct regclass!");
|
||||
unsigned VReg = MF.getRegInfo().createVirtualRegister(RC);
|
||||
MF.getRegInfo().addLiveIn(PReg, VReg);
|
||||
return VReg;
|
||||
|
|
Loading…
Reference in New Issue