[llvm-commits] CVS: llvm/include/llvm/CodeGen/SelectionDAG.h SelectionDAGNodes.h
Chris Lattner
lattner at cs.uiuc.edu
Mon Jan 17 18:51:56 PST 2005
Changes in directory llvm/include/llvm/CodeGen:
SelectionDAG.h updated: 1.14 -> 1.15
SelectionDAGNodes.h updated: 1.18 -> 1.19
---
Log message:
Allow setcc operations to have non-bool types.
---
Diffs of the changes: (+2 -2)
Index: llvm/include/llvm/CodeGen/SelectionDAG.h
diff -u llvm/include/llvm/CodeGen/SelectionDAG.h:1.14 llvm/include/llvm/CodeGen/SelectionDAG.h:1.15
--- llvm/include/llvm/CodeGen/SelectionDAG.h:1.14 Sat Jan 15 00:16:35 2005
+++ llvm/include/llvm/CodeGen/SelectionDAG.h Mon Jan 17 20:51:41 2005
@@ -131,7 +131,8 @@
return NN;
}
- SDOperand getSetCC(ISD::CondCode, SDOperand LHS, SDOperand RHS);
+ SDOperand getSetCC(ISD::CondCode, MVT::ValueType VT,
+ SDOperand LHS, SDOperand RHS);
/// getNode - Gets or creates the specified node.
///
Index: llvm/include/llvm/CodeGen/SelectionDAGNodes.h
diff -u llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.18 llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.19
--- llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.18 Sun Jan 16 20:24:59 2005
+++ llvm/include/llvm/CodeGen/SelectionDAGNodes.h Mon Jan 17 20:51:41 2005
@@ -707,7 +707,6 @@
friend class SelectionDAG;
SetCCSDNode(ISD::CondCode Cond, SDOperand LHS, SDOperand RHS)
: SDNode(ISD::SETCC, LHS, RHS), Condition(Cond) {
- setValueTypes(MVT::i1);
}
public:
More information about the llvm-commits
mailing list