aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/llvm/CodeGen/SelectionDAG.h3
-rw-r--r--include/llvm/CodeGen/SelectionDAGNodes.h1
2 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/SelectionDAG.h b/include/llvm/CodeGen/SelectionDAG.h
index 12c3c21..be4c29a 100644
--- a/include/llvm/CodeGen/SelectionDAG.h
+++ b/include/llvm/CodeGen/SelectionDAG.h
@@ -131,7 +131,8 @@ public:
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.
///
diff --git a/include/llvm/CodeGen/SelectionDAGNodes.h b/include/llvm/CodeGen/SelectionDAGNodes.h
index b721ada..37e0ed0 100644
--- a/include/llvm/CodeGen/SelectionDAGNodes.h
+++ b/include/llvm/CodeGen/SelectionDAGNodes.h
@@ -707,7 +707,6 @@ protected:
friend class SelectionDAG;
SetCCSDNode(ISD::CondCode Cond, SDOperand LHS, SDOperand RHS)
: SDNode(ISD::SETCC, LHS, RHS), Condition(Cond) {
- setValueTypes(MVT::i1);
}
public: