[llvm] r326939 - [X86] Remove unused function argument. NFC

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 7 11:45:45 PST 2018


Author: ctopper
Date: Wed Mar  7 11:45:45 2018
New Revision: 326939

URL: http://llvm.org/viewvc/llvm-project?rev=326939&view=rev
Log:
[X86] Remove unused function argument. NFC

Modified:
    llvm/trunk/lib/Target/X86/X86ISelLowering.cpp

Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86ISelLowering.cpp?rev=326939&r1=326938&r2=326939&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Wed Mar  7 11:45:45 2018
@@ -32909,7 +32909,6 @@ static SDValue combineMulSpecial(uint64_
 // If the upper 17 bits of each element are zero then we can use PMADDWD,
 // which is always at least as quick as PMULLD, expect on KNL.
 static SDValue combineMulToPMADDWD(SDNode *N, SelectionDAG &DAG,
-                                   TargetLowering::DAGCombinerInfo &DCI,
                                    const X86Subtarget &Subtarget) {
   if (!Subtarget.hasSSE2())
     return SDValue();
@@ -32953,7 +32952,7 @@ static SDValue combineMul(SDNode *N, Sel
                           const X86Subtarget &Subtarget) {
   EVT VT = N->getValueType(0);
 
-  if (SDValue V = combineMulToPMADDWD(N, DAG, DCI, Subtarget))
+  if (SDValue V = combineMulToPMADDWD(N, DAG, Subtarget))
     return V;
 
   if (DCI.isBeforeLegalize() && VT.isVector())




More information about the llvm-commits mailing list