mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-13 10:32:06 +00:00
Now with the correct type for the 0.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60016 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7ebfea4175
commit
a6af91ae12
@ -4185,7 +4185,7 @@ SDValue SelectionDAGLegalize::LegalizeOp(SDValue Op) {
|
||||
SDValue Sum = DAG.getNode(ISD::ADD, LHS.getValueType(), LHS, RHS);
|
||||
MVT OType = Node->getValueType(1);
|
||||
|
||||
SDValue Zero = DAG.getConstant(0, OType);
|
||||
SDValue Zero = DAG.getConstant(0, LHS.getValueType());
|
||||
|
||||
SDValue LHSPos = DAG.getSetCC(OType, LHS, Zero, ISD::SETGE);
|
||||
SDValue RHSPos = DAG.getSetCC(OType, RHS, Zero, ISD::SETGE);
|
||||
|
Loading…
x
Reference in New Issue
Block a user