summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
diff options
context:
space:
mode:
authorNate Begeman <natebegeman@mac.com>2005-08-10 20:51:12 +0000
committerNate Begeman <natebegeman@mac.com>2005-08-10 20:51:12 +0000
commite5b86d744262b65d8ccb08cc63df9578aff022a1 (patch)
treef492fb342bd237d1ab86a247b88054cba147148d /llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
parent3428b95634d88fa00b006b03c60268574f1d5917 (diff)
downloadbcm5719-llvm-e5b86d744262b65d8ccb08cc63df9578aff022a1.tar.gz
bcm5719-llvm-e5b86d744262b65d8ccb08cc63df9578aff022a1.zip
Add new node, SELECT_CC. This node is for targets that don't natively
implement SELECT. llvm-svn: 22755
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
index 549b48042f9..a20c5176308 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
@@ -686,8 +686,6 @@ SDOperand SelectionDAG::SimplifySetCC(MVT::ValueType VT, SDOperand N1,
return SDOperand();
}
-
-
/// getNode - Gets or creates the specified node.
///
SDOperand SelectionDAG::getNode(unsigned Opcode, MVT::ValueType VT) {
@@ -1702,6 +1700,7 @@ const char *SDNode::getOperationName() const {
case ISD::SETCC: return "setcc";
case ISD::SELECT: return "select";
+ case ISD::SELECT_CC: return "select_cc";
case ISD::ADD_PARTS: return "add_parts";
case ISD::SUB_PARTS: return "sub_parts";
case ISD::SHL_PARTS: return "shl_parts";
OpenPOWER on IntegriCloud