summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-04-02 04:58:41 +0000
committerChris Lattner <sabre@nondot.org>2005-04-02 04:58:41 +0000
commitc4a2046a8869d7a6beef7c63d51472471bfa1592 (patch)
treeed4cf994e4d5f6b4fb262e7d77ec194586bfd931 /llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
parentb3183de8c630bac237cd53c2456d30ba691e8658 (diff)
downloadbcm5719-llvm-c4a2046a8869d7a6beef7c63d51472471bfa1592.tar.gz
bcm5719-llvm-c4a2046a8869d7a6beef7c63d51472471bfa1592.zip
print fneg/fabs
llvm-svn: 21008
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-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 005bb725753..105d39d1fa5 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
@@ -1122,6 +1122,11 @@ const char *SDNode::getOperationName() const {
case ISD::ImplicitDef: return "ImplicitDef";
case ISD::UNDEF: return "undef";
+ // Unary operators
+ case ISD::FABS: return "fabs";
+ case ISD::FNEG: return "fneg";
+
+ // Binary operators
case ISD::ADD: return "add";
case ISD::SUB: return "sub";
case ISD::MUL: return "mul";
OpenPOWER on IntegriCloud