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

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


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31301 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2006-10-30 23:02:25 +00:00
parent 6ac310d5e9
commit 1d75400e2e

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