projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f23239
)
This assert is overly restrictive and does not work for mips16.
author
Reed Kotler
<rkotler@mips.com>
Thu, 20 Dec 2012 05:09:15 +0000
(
05:09
+0000)
committer
Reed Kotler
<rkotler@mips.com>
Thu, 20 Dec 2012 05:09:15 +0000
(
05:09
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170667
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/Mips/MipsISelLowering.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/Mips/MipsISelLowering.cpp
b/lib/Target/Mips/MipsISelLowering.cpp
index 3fad6eec926a8a918b998888e9ed074fa6234fbb..e3abd3e1af477c8691a895f7254b191e349d806e 100644
(file)
--- a/
lib/Target/Mips/MipsISelLowering.cpp
+++ b/
lib/Target/Mips/MipsISelLowering.cpp
@@
-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;