mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
Remove some cases handled by the generated portion of the isel
llvm-svn: 23262
This commit is contained in:
parent
65c98b6441
commit
1769be4699
@ -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