diff options
author | Chris Lattner <sabre@nondot.org> | 2005-04-02 03:30:42 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-04-02 03:30:42 +0000 |
commit | 41be951a47d2141a3c6693c0b598509c889f3f37 (patch) | |
tree | 46aa4a6b4a33c713c24368d5160a8966a3569c71 /lib/CodeGen/SelectionDAG/SelectionDAG.cpp | |
parent | 14c5b53c037a6a175118ed1a7d7e0e74153d56c4 (diff) |
Print some new nodes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21001 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 023848a9f9..7f15e19f9d 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -924,7 +924,9 @@ SDOperand SelectionDAG::getNode(unsigned Opcode, MVT::ValueType VT, default: // FIXME: MEMOIZE!! SDNode *N = new SDNode(Opcode, Children); - if (Opcode != ISD::ADD_PARTS && Opcode != ISD::SUB_PARTS) { + if (Opcode != ISD::ADD_PARTS && Opcode != ISD::SUB_PARTS && + Opcode != ISD::SRA_PARTS && Opcode != ISD::SRL_PARTS && + Opcode != ISD::SHL_PARTS) { N->setValueTypes(VT); } else { std::vector<MVT::ValueType> V(N->getNumOperands()/2, VT); @@ -1131,6 +1133,9 @@ const char *SDNode::getOperationName() const { case ISD::SELECT: return "select"; case ISD::ADD_PARTS: return "add_parts"; case ISD::SUB_PARTS: return "sub_parts"; + case ISD::SHL_PARTS: return "shl_parts"; + case ISD::SRA_PARTS: return "sra_parts"; + case ISD::SRL_PARTS: return "srl_parts"; // Conversion operators. case ISD::SIGN_EXTEND: return "sign_extend"; |