[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

Reid Spencer reid at x10sys.com
Sat Dec 2 22:36:02 PST 2006



Changes in directory llvm/lib/VMCore:

AsmWriter.cpp updated: 1.215 -> 1.216
---
Log message:

Shorten the FCmp predicate mnemonics.


---
Diffs of the changes:  (+12 -12)

 AsmWriter.cpp |   24 ++++++++++++------------
 1 files changed, 12 insertions(+), 12 deletions(-)


Index: llvm/lib/VMCore/AsmWriter.cpp
diff -u llvm/lib/VMCore/AsmWriter.cpp:1.215 llvm/lib/VMCore/AsmWriter.cpp:1.216
--- llvm/lib/VMCore/AsmWriter.cpp:1.215	Sun Dec  3 00:27:29 2006
+++ llvm/lib/VMCore/AsmWriter.cpp	Sun Dec  3 00:35:48 2006
@@ -1130,20 +1130,20 @@
     const char *pred = 0;
     switch (FCI->getPredicate()) {
       case FCmpInst::FCMP_FALSE: pred = "false";
-      case FCmpInst::FCMP_OEQ:   pred = "ordeq";
-      case FCmpInst::FCMP_OGT:   pred = "ordgt";
-      case FCmpInst::FCMP_OGE:   pred = "ordge";
-      case FCmpInst::FCMP_OLT:   pred = "ordlt";
-      case FCmpInst::FCMP_OLE:   pred = "ordle";
-      case FCmpInst::FCMP_ONE:   pred = "ordne";
+      case FCmpInst::FCMP_OEQ:   pred = "oeq";
+      case FCmpInst::FCMP_OGT:   pred = "ogt";
+      case FCmpInst::FCMP_OGE:   pred = "oge";
+      case FCmpInst::FCMP_OLT:   pred = "olt";
+      case FCmpInst::FCMP_OLE:   pred = "ole";
+      case FCmpInst::FCMP_ONE:   pred = "one";
       case FCmpInst::FCMP_ORD:   pred = "ord";
       case FCmpInst::FCMP_UNO:   pred = "uno";
-      case FCmpInst::FCMP_UEQ:   pred = "unoeq";
-      case FCmpInst::FCMP_UGT:   pred = "unogt";
-      case FCmpInst::FCMP_UGE:   pred = "unoge";
-      case FCmpInst::FCMP_ULT:   pred = "unolt";
-      case FCmpInst::FCMP_ULE:   pred = "unole";
-      case FCmpInst::FCMP_UNE:   pred = "unone";
+      case FCmpInst::FCMP_UEQ:   pred = "ueq";
+      case FCmpInst::FCMP_UGT:   pred = "ugt";
+      case FCmpInst::FCMP_UGE:   pred = "uge";
+      case FCmpInst::FCMP_ULT:   pred = "ult";
+      case FCmpInst::FCMP_ULE:   pred = "ule";
+      case FCmpInst::FCMP_UNE:   pred = "une";
       case FCmpInst::FCMP_TRUE:  pred = "true";
     }
     Out << " " << pred;






More information about the llvm-commits mailing list