1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00

[TargetLowering] Rename getExpandedFixedPointMultiplication to expandFixedPointMul. NFCI.

Match the (much shorter) name used in various legalization methods.

llvm-svn: 352056
This commit is contained in:
Simon Pilgrim 2019-01-24 15:46:54 +00:00
parent 3b4601c1db
commit cab0bb2a16
3 changed files with 3 additions and 5 deletions

View File

@ -3840,8 +3840,7 @@ public:
/// Method for building the DAG expansion of ISD::SMULFIX. This method accepts
/// integers as its arguments.
SDValue getExpandedFixedPointMultiplication(SDNode *Node,
SelectionDAG &DAG) const;
SDValue expandFixedPointMul(SDNode *Node, SelectionDAG &DAG) const;
//===--------------------------------------------------------------------===//
// Instruction Emitting Hooks

View File

@ -3290,7 +3290,7 @@ bool SelectionDAGLegalize::ExpandNode(SDNode *Node) {
Results.push_back(TLI.expandAddSubSat(Node, DAG));
break;
case ISD::SMULFIX:
Results.push_back(TLI.getExpandedFixedPointMultiplication(Node, DAG));
Results.push_back(TLI.expandFixedPointMul(Node, DAG));
break;
case ISD::SADDO:
case ISD::SSUBO: {

View File

@ -5354,8 +5354,7 @@ SDValue TargetLowering::expandAddSubSat(SDNode *Node, SelectionDAG &DAG) const {
}
SDValue
TargetLowering::getExpandedFixedPointMultiplication(SDNode *Node,
SelectionDAG &DAG) const {
TargetLowering::expandFixedPointMul(SDNode *Node, SelectionDAG &DAG) const {
assert(Node->getOpcode() == ISD::SMULFIX && "Expected opcode to be SMULFIX.");
assert(Node->getNumOperands() == 3 &&
"Expected signed fixed point multiplication to have 3 operands.");