fix miscompilation of llvm.isunordered, where we branched on the opposite

condition.  This fixes miscompilation of Olden/bh and many others.

llvm-svn: 31301
This commit is contained in:
Chris Lattner 2006-10-30 23:02:25 +00:00
parent e01994f8b1
commit ed0b1b4b24

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