summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2011-12-14 02:28:54 +0000
committerEli Friedman <eli.friedman@gmail.com>2011-12-14 02:28:54 +0000
commit6512cd43668a0900495ae74f594bfeaa1a949d84 (patch)
tree08a39d7cad79b0612d1193470380494f47b8c7ba
parent87975df580ccf7ffc73d86dafd52daa662b2c71d (diff)
downloadbcm5719-llvm-6512cd43668a0900495ae74f594bfeaa1a949d84.tar.gz
bcm5719-llvm-6512cd43668a0900495ae74f594bfeaa1a949d84.zip
Add missing cases to SDNode::getOperationName(). Patch by Micah Villmow.
llvm-svn: 146548
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
index 0b507b42719..e49fc7d3490 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
@@ -6151,6 +6151,11 @@ std::string SDNode::getOperationName(const SelectionDAG *G) const {
case ISD::SETLT: return "setlt";
case ISD::SETLE: return "setle";
case ISD::SETNE: return "setne";
+
+ case ISD::SETTRUE: return "settrue";
+ case ISD::SETTRUE2: return "settrue2";
+ case ISD::SETFALSE: return "setfalse";
+ case ISD::SETFALSE2: return "setfalse2";
}
}
}
OpenPOWER on IntegriCloud