mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-30 02:32:08 +00:00
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:
parent
6ac310d5e9
commit
1d75400e2e
@ -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
Block a user