[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp

Chris Lattner lattner at cs.uiuc.edu
Thu Apr 28 14:44:18 PDT 2005



Changes in directory llvm/lib/CodeGen/SelectionDAG:

SelectionDAG.cpp updated: 1.96 -> 1.97
---
Log message:

Add FSQRT, FSIN, FCOS nodes, patch contributed by Morten Ofstad



---
Diffs of the changes:  (+4 -1)

 SelectionDAG.cpp |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletion(-)


Index: llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1.96 llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1.97
--- llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1.96	Wed Apr 27 15:10:01 2005
+++ llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp	Thu Apr 28 16:44:03 2005
@@ -1568,6 +1568,9 @@
   // 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 @@
   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";






More information about the llvm-commits mailing list