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

Chris Lattner lattner at cs.uiuc.edu
Fri Apr 1 20:58:55 PST 2005



Changes in directory llvm/lib/CodeGen/SelectionDAG:

SelectionDAG.cpp updated: 1.57 -> 1.58
---
Log message:

print fneg/fabs 


---
Diffs of the changes:  (+5 -0)

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


Index: llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1.57 llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1.58
--- llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1.57	Fri Apr  1 22:00:59 2005
+++ llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp	Fri Apr  1 22:58:41 2005
@@ -1122,6 +1122,11 @@
   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";






More information about the llvm-commits mailing list