Changes in directory llvm/lib/Target/PowerPC:

PPCISelDAGToDAG.cpp updated: 1.211 -> 1.212
---
Log message:

fix miscompilation of llvm.isunordered, where we branched on the opposite
condition.  This fixes miscompilation of Olden/bh and many others.


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

 PPCISelDAGToDAG.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Index: llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
diff -u llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp:1.211 
llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp:1.212
--- llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp:1.211   Fri Sep 22 00:01:56 2006
+++ llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp Mon Oct 30 17:02:25 2006
@@ -822,8 +822,8 @@
   case ISD::SETUGE:
   case ISD::SETGE:  return PPC::BGE;
     
-  case ISD::SETO:   return PPC::BUN;
-  case ISD::SETUO:  return PPC::BNU;
+  case ISD::SETO:   return PPC::BNU;
+  case ISD::SETUO:  return PPC::BUN;
   }
   return 0;
 }



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to