aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Target/PowerPC/PPCISelDAGToDAG.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/lib/Target/PowerPC/PPCISelDAGToDAG.cpp b/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
index bc6573b13c..f5fc33aee6 100644
--- a/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
+++ b/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
@@ -944,22 +944,6 @@ void PPCDAGToDAGISel::Select(SDOperand &Result, SDOperand Op) {
switch (N->getOpcode()) {
default: break;
- case ISD::VECTOR_SHUFFLE:
- // FIXME: This should be autogenerated from the .td file, it is here for now
- // due to bugs in tblgen.
- if (Op.getOperand(1).getOpcode() == ISD::UNDEF &&
- (Op.getValueType() == MVT::v4f32 || Op.getValueType() == MVT::v4i32) &&
- PPC::isSplatShuffleMask(Op.getOperand(2).Val)) {
- SDOperand N0;
- Select(N0, N->getOperand(0));
- Result = CodeGenMap[Op] =
- SDOperand(CurDAG->getTargetNode(PPC::VSPLTW, MVT::v4f32,
- getI32Imm(PPC::getVSPLTImmediate(Op.getOperand(2).Val)),
- N0), 0);
- return;
- }
- assert(0 && "ILLEGAL VECTOR_SHUFFLE!");
-
case ISD::SETCC:
Result = SelectSETCC(Op);
return;