fix miscompilation of llvm.isunordered, where we branched on the opposite
[oota-llvm.git] / lib / Target / PowerPC / PPCISelDAGToDAG.cpp
index 99cd5e7cc616218f09d4a33ec026ba1cd5100127..2bfaa2d72ebbfca78545fbc87900ebb33811a3b2 100644 (file)
@@ -822,8 +822,8 @@ static unsigned getBCCForSetCC(ISD::CondCode CC) {
   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;
 }