[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Chris Lattner
lattner at cs.uiuc.edu
Fri Apr 1 19:30:55 PST 2005
Changes in directory llvm/lib/CodeGen/SelectionDAG:
SelectionDAG.cpp updated: 1.55 -> 1.56
---
Log message:
Print some new nodes
---
Diffs of the changes: (+6 -1)
SelectionDAG.cpp | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletion(-)
Index: llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1.55 llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1.56
--- llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1.55 Fri Apr 1 16:34:39 2005
+++ llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp Fri Apr 1 21:30:42 2005
@@ -924,7 +924,9 @@
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 @@
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";
More information about the llvm-commits
mailing list