Deleted Added
full compact
PPCISelDAGToDAG.cpp (251662) PPCISelDAGToDAG.cpp (255804)
1//===-- PPCISelDAGToDAG.cpp - PPC --pattern matching inst selector --------===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//

--- 881 unchanged lines hidden (view full) ---

890 return CurDAG->SelectNodeTo(N, PPC::OR, MVT::i32, Tmp, OtherCond);
891}
892
893
894// Select - Convert the specified operand from a target-independent to a
895// target-specific node if it hasn't already been changed.
896SDNode *PPCDAGToDAGISel::Select(SDNode *N) {
897 DebugLoc dl = N->getDebugLoc();
1//===-- PPCISelDAGToDAG.cpp - PPC --pattern matching inst selector --------===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//

--- 881 unchanged lines hidden (view full) ---

890 return CurDAG->SelectNodeTo(N, PPC::OR, MVT::i32, Tmp, OtherCond);
891}
892
893
894// Select - Convert the specified operand from a target-independent to a
895// target-specific node if it hasn't already been changed.
896SDNode *PPCDAGToDAGISel::Select(SDNode *N) {
897 DebugLoc dl = N->getDebugLoc();
898 if (N->isMachineOpcode())
898 if (N->isMachineOpcode()) {
899 N->setNodeId(-1);
899 return NULL; // Already selected.
900 return NULL; // Already selected.
901 }
900
901 switch (N->getOpcode()) {
902 default: break;
903
904 case ISD::Constant: {
905 if (N->getValueType(0) == MVT::i64) {
906 // Get 64 bit value.
907 int64_t Imm = cast<ConstantSDNode>(N)->getZExtValue();

--- 658 unchanged lines hidden ---
902
903 switch (N->getOpcode()) {
904 default: break;
905
906 case ISD::Constant: {
907 if (N->getValueType(0) == MVT::i64) {
908 // Get 64 bit value.
909 int64_t Imm = cast<ConstantSDNode>(N)->getZExtValue();

--- 658 unchanged lines hidden ---