forked from OSchip/llvm-project
Remove ancient, commented out code from TableGen, NFC
These pieces were commented out in r98534 and r129691, i.e. 6+ years ago. llvm-svn: 313038
This commit is contained in:
parent
426bf3642e
commit
4148a1a855
|
@ -1976,18 +1976,6 @@ bool TreePatternNode::ApplyTypeConstraints(TreePattern &TP, bool NotRegisters) {
|
|||
}
|
||||
|
||||
bool MadeChange = getChild(0)->ApplyTypeConstraints(TP, NotRegisters);
|
||||
|
||||
|
||||
// If either the output or input of the xform does not have exact
|
||||
// type info. We assume they must be the same. Otherwise, it is perfectly
|
||||
// legal to transform from one type to a completely different type.
|
||||
#if 0
|
||||
if (!hasTypeSet() || !getChild(0)->hasTypeSet()) {
|
||||
bool MadeChange = UpdateNodeType(getChild(0)->getExtType(), TP);
|
||||
MadeChange |= getChild(0)->UpdateNodeType(getExtType(), TP);
|
||||
return MadeChange;
|
||||
}
|
||||
#endif
|
||||
return MadeChange;
|
||||
}
|
||||
|
||||
|
|
|
@ -217,10 +217,6 @@ struct OperandsSignature {
|
|||
PredNo = ImmediatePredicates.getIDFor(PredFn)+1;
|
||||
}
|
||||
|
||||
// Handle unmatched immediate sizes here.
|
||||
//if (Op->getType(0) != VT)
|
||||
// return false;
|
||||
|
||||
Operands.push_back(OpKind::getImm(PredNo));
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue