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:
parent
f9588dc396
commit
3e36e07db2
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue