summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-04-28 21:44:03 +0000
committerChris Lattner <sabre@nondot.org>2005-04-28 21:44:03 +0000
commit2f82d2d58a929fb28e135ac8ecca1bec8caf7e99 (patch)
tree36f8c7df37d9b29eda5b80f17090bdea63878530 /llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
parent16983ca865ac0d0839090bc1aec37bb14953c58b (diff)
downloadbcm5719-llvm-2f82d2d58a929fb28e135ac8ecca1bec8caf7e99.tar.gz
bcm5719-llvm-2f82d2d58a929fb28e135ac8ecca1bec8caf7e99.zip
Add FSQRT, FSIN, FCOS nodes, patch contributed by Morten Ofstad
llvm-svn: 21605
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
index 2a882709654..f9b347d4c93 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
@@ -1568,6 +1568,9 @@ const char *SDNode::getOperationName() const {
// Unary operators
case ISD::FABS: return "fabs";
case ISD::FNEG: return "fneg";
+ case ISD::FSQRT: return "fsqrt";
+ case ISD::FSIN: return "fsin";
+ case ISD::FCOS: return "fcos";
// Binary operators
case ISD::ADD: return "add";
@@ -1593,7 +1596,7 @@ const char *SDNode::getOperationName() const {
case ISD::SRA_PARTS: return "sra_parts";
case ISD::SRL_PARTS: return "srl_parts";
- // Conversion operators.
+ // Conversion operators.
case ISD::SIGN_EXTEND: return "sign_extend";
case ISD::ZERO_EXTEND: return "zero_extend";
case ISD::SIGN_EXTEND_INREG: return "sign_extend_inreg";
OpenPOWER on IntegriCloud