mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-10 22:00:58 +00:00
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
e01994f8b1
commit
ed0b1b4b24
@ -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…
x
Reference in New Issue
Block a user