]> granicus.if.org Git - llvm/commitdiff
[TargetLowering] Rename getExpandedFixedPointMultiplication to expandFixedPointMul...
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 24 Jan 2019 15:46:54 +0000 (15:46 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 24 Jan 2019 15:46:54 +0000 (15:46 +0000)
Match the (much shorter) name used in various legalization methods.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@352056 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/TargetLowering.h
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
lib/CodeGen/SelectionDAG/TargetLowering.cpp

index 850b9e2d555790a405b0dc7c51f4f3482d1a5050..6d3397b4aae22100aaaee6b8acc3daff914ce4cb 100644 (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
index c9f771515aa9bd598a3e62097a81d8a997a1e3a7..9e7cb4590af2df6eda8fda67844a6814fb9d2fa2 100644 (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: {
index 0239132c14c794fb78822d3f722bc7aa66fe9696..5d8f385198035e31982c9e2f455c68eb267751b6 100644 (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.");