mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-01 15:17:25 +00:00
TargetLowering: Clean up method description comments
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183623 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -2438,7 +2438,7 @@ void TargetLowering::ComputeConstraintToUse(AsmOperandInfo &OpInfo,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// BuildExactDiv - Given an exact SDIV by a constant, create a multiplication
|
/// \brief Given an exact SDIV by a constant, create a multiplication
|
||||||
/// with the multiplicative inverse of the constant.
|
/// with the multiplicative inverse of the constant.
|
||||||
SDValue TargetLowering::BuildExactSDIV(SDValue Op1, SDValue Op2, SDLoc dl,
|
SDValue TargetLowering::BuildExactSDIV(SDValue Op1, SDValue Op2, SDLoc dl,
|
||||||
SelectionDAG &DAG) const {
|
SelectionDAG &DAG) const {
|
||||||
@@ -2464,7 +2464,7 @@ SDValue TargetLowering::BuildExactSDIV(SDValue Op1, SDValue Op2, SDLoc dl,
|
|||||||
return DAG.getNode(ISD::MUL, dl, Op1.getValueType(), Op1, Op2);
|
return DAG.getNode(ISD::MUL, dl, Op1.getValueType(), Op1, Op2);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// BuildSDIVSequence - Given an ISD::SDIV node expressing a divide by constant,
|
/// \brief Given an ISD::SDIV node expressing a divide by constant,
|
||||||
/// return a DAG expression to select that will generate the same value by
|
/// return a DAG expression to select that will generate the same value by
|
||||||
/// multiplying by a magic number. See:
|
/// multiplying by a magic number. See:
|
||||||
/// <http://the.wall.riscom.net/books/proc/ppc/cwg/code2.html>
|
/// <http://the.wall.riscom.net/books/proc/ppc/cwg/code2.html>
|
||||||
@@ -2524,7 +2524,7 @@ BuildSDIV(SDNode *N, SelectionDAG &DAG, bool IsAfterLegalization,
|
|||||||
return DAG.getNode(ISD::ADD, dl, VT, Q, T);
|
return DAG.getNode(ISD::ADD, dl, VT, Q, T);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// BuildUDIVSequence - Given an ISD::UDIV node expressing a divide by constant,
|
/// \brief Given an ISD::UDIV node expressing a divide by constant,
|
||||||
/// return a DAG expression to select that will generate the same value by
|
/// return a DAG expression to select that will generate the same value by
|
||||||
/// multiplying by a magic number. See:
|
/// multiplying by a magic number. See:
|
||||||
/// <http://the.wall.riscom.net/books/proc/ppc/cwg/code2.html>
|
/// <http://the.wall.riscom.net/books/proc/ppc/cwg/code2.html>
|
||||||
|
|||||||
Reference in New Issue
Block a user