These pieces were commented out in r98534 and r129691, i.e. 6+ years ago.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313038
91177308-0d34-0410-b5e6-
96231b3b80d8
}
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;
}
PredNo = ImmediatePredicates.getIDFor(PredFn)+1;
}
- // Handle unmatched immediate sizes here.
- //if (Op->getType(0) != VT)
- // return false;
-
Operands.push_back(OpKind::getImm(PredNo));
continue;
}