mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-13 00:11:56 +00:00
Fix CodeGen/Generic/2006-06-28-SimplifySetCCCrash.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28965 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7aeeac75f5
commit
883a52de66
@ -243,12 +243,10 @@ ISD::CondCode ISD::getSetCCAndOperation(ISD::CondCode Op1, ISD::CondCode Op2,
|
|||||||
if (isInteger) {
|
if (isInteger) {
|
||||||
switch (Result) {
|
switch (Result) {
|
||||||
default: break;
|
default: break;
|
||||||
case ISD::SETUO: // e.g. SETUGT & SETULT
|
case ISD::SETUO : Result = ISD::SETFALSE; break; // SETUGT & SETULT
|
||||||
Result = ISD::SETFALSE;
|
case ISD::SETUEQ: Result = ISD::SETEQ ; break; // SETUGE & SETULE
|
||||||
break;
|
case ISD::SETOLT: Result = ISD::SETULT ; break; // SETULT & SETNE
|
||||||
case ISD::SETUEQ: // e.g. SETUGE & SETULE
|
case ISD::SETOGT: Result = ISD::SETUGT ; break; // SETUGT & SETNE
|
||||||
Result = ISD::SETEQ;
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user