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 f9588dc396
commit 3e36e07db2
1 changed files with 2 additions and 2 deletions

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