[llvm-commits] [llvm] r170667 - /llvm/trunk/lib/Target/Mips/MipsISelLowering.cpp
Reed Kotler
rkotler at mips.com
Wed Dec 19 21:09:15 PST 2012
Author: rkotler
Date: Wed Dec 19 23:09:15 2012
New Revision: 170667
URL: http://llvm.org/viewvc/llvm-project?rev=170667&view=rev
Log:
This assert is overly restrictive and does not work for mips16.
Modified:
llvm/trunk/lib/Target/Mips/MipsISelLowering.cpp
Modified: llvm/trunk/lib/Target/Mips/MipsISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/MipsISelLowering.cpp?rev=170667&r1=170666&r2=170667&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/MipsISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/Mips/MipsISelLowering.cpp Wed Dec 19 23:09:15 2012
@@ -1048,7 +1048,6 @@
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;
More information about the llvm-commits
mailing list