mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-15 07:34:33 +00:00
Conform to LLVM coding style.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161061 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
683826765c
commit
8c574be2fe
@ -2464,8 +2464,8 @@ TargetLowering::SimplifySetCC(EVT VT, SDValue N0, SDValue N1,
|
|||||||
// Otherwise, we can't fold it. However, we can simplify it to SETUO/SETO
|
// Otherwise, we can't fold it. However, we can simplify it to SETUO/SETO
|
||||||
// if it is not already.
|
// if it is not already.
|
||||||
ISD::CondCode NewCond = UOF == 0 ? ISD::SETO : ISD::SETUO;
|
ISD::CondCode NewCond = UOF == 0 ? ISD::SETO : ISD::SETUO;
|
||||||
if (NewCond != Cond && (DCI.isBeforeLegalizeOps()
|
if (NewCond != Cond && (DCI.isBeforeLegalizeOps() ||
|
||||||
|| getCondCodeAction(NewCond, N0.getValueType()) == Legal))
|
getCondCodeAction(NewCond, N0.getValueType()) == Legal))
|
||||||
return DAG.getSetCC(dl, VT, N0, N1, NewCond);
|
return DAG.getSetCC(dl, VT, N0, N1, NewCond);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user