summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2019-01-24 15:46:54 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2019-01-24 15:46:54 +0000
commit2f018de6a35ac49bceb46754858fce594a4d6c46 (patch)
tree5720ea9fd17236e43f4a7ea5db13722ff7506961 /llvm/lib/CodeGen
parent23a06fb2bdb536e63ce41a77c69ebe3e32a9ac6b (diff)
downloadbcm5719-llvm-2f018de6a35ac49bceb46754858fce594a4d6c46.tar.gz
bcm5719-llvm-2f018de6a35ac49bceb46754858fce594a4d6c46.zip
[TargetLowering] Rename getExpandedFixedPointMultiplication to expandFixedPointMul. NFCI.
Match the (much shorter) name used in various legalization methods. llvm-svn: 352056
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp2
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp3
2 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
index c9f771515aa..9e7cb4590af 100644
--- a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
@@ -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: {
diff --git a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
index 0239132c14c..5d8f3851980 100644
--- a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
@@ -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.");
OpenPOWER on IntegriCloud