mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-01 01:14:12 +00:00
Remove some cases handled by the generated portion of the isel
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23262 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
54cb8fd814
commit
19c0907ba1
@ -62,6 +62,7 @@ namespace {
|
||||
// Select - Convert the specified operand from a target-independent to a
|
||||
// target-specific node if it hasn't already been changed.
|
||||
SDOperand Select(SDOperand Op);
|
||||
SDOperand SelectCode(SDOperand Op);
|
||||
|
||||
SDNode *SelectIntImmediateExpr(SDOperand LHS, SDOperand RHS,
|
||||
unsigned OCHi, unsigned OCLo,
|
||||
@ -636,16 +637,7 @@ SDOperand PPC32DAGToDAGISel::Select(SDOperand Op) {
|
||||
return Op; // Already selected.
|
||||
|
||||
switch (N->getOpcode()) {
|
||||
default:
|
||||
std::cerr << "Cannot yet select: ";
|
||||
N->dump();
|
||||
std::cerr << "\n";
|
||||
abort();
|
||||
case ISD::EntryToken: // These leaves remain the same.
|
||||
return Op;
|
||||
case ISD::AssertSext:
|
||||
case ISD::AssertZext:
|
||||
return Select(N->getOperand(0));
|
||||
default: break;
|
||||
case ISD::TokenFactor: {
|
||||
SDOperand New;
|
||||
if (N->getNumOperands() == 2) {
|
||||
@ -1598,9 +1590,7 @@ SDOperand PPC32DAGToDAGISel::Select(SDOperand Op) {
|
||||
}
|
||||
}
|
||||
|
||||
assert(0 && "Unreachable!");
|
||||
abort();
|
||||
return SDOperand(N, Op.ResNo);
|
||||
return SelectCode(Op);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user