[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp

Chris Lattner sabre at nondot.org
Mon Oct 30 15:02:39 PST 2006



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;
 }






More information about the llvm-commits mailing list