[llvm-commits] [llvm] r72455 - /llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp

Eli Friedman eli.friedman at gmail.com
Tue May 26 19:21:29 PDT 2009


Author: efriedma
Date: Tue May 26 21:21:29 2009
New Revision: 72455

URL: http://llvm.org/viewvc/llvm-project?rev=72455&view=rev
Log:
Remove unused argument.


Modified:
    llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp

Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp?rev=72455&r1=72454&r2=72455&view=diff

==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp Tue May 26 21:21:29 2009
@@ -153,8 +153,7 @@
     LegalizeSetCCCondCode(VT, LHS, RHS, CC, dl);
   }
 
-  SDValue ExpandLibCall(RTLIB::Libcall LC, SDNode *Node, bool isSigned,
-                          SDValue &Hi);
+  SDValue ExpandLibCall(RTLIB::Libcall LC, SDNode *Node, bool isSigned);
 
   SDValue EmitStackConvert(SDValue SrcOp, MVT SlotVT, MVT DestVT, DebugLoc dl);
   SDValue ExpandBUILD_VECTOR(SDNode *Node);
@@ -2201,8 +2200,7 @@
       default: break;
       }
       if (LC != RTLIB::UNKNOWN_LIBCALL) {
-        SDValue Dummy;
-        Result = ExpandLibCall(LC, Node, isSigned, Dummy);
+        Result = ExpandLibCall(LC, Node, isSigned);
         break;
       }
 
@@ -2379,8 +2377,7 @@
       }
 
       if (LC != RTLIB::UNKNOWN_LIBCALL) {
-        SDValue Dummy;
-        Result = ExpandLibCall(LC, Node, isSigned, Dummy);
+        Result = ExpandLibCall(LC, Node, isSigned);
         break;
       }
 
@@ -2556,8 +2553,7 @@
       break;
         default: assert(0 && "Unreachable!");
         }
-        SDValue Dummy;
-        Result = ExpandLibCall(LC, Node, false/*sign irrelevant*/, Dummy);
+        Result = ExpandLibCall(LC, Node, false/*sign irrelevant*/);
         break;
       }
       }
@@ -2573,8 +2569,7 @@
     // We always lower FPOWI into a libcall.  No target support for it yet.
     RTLIB::Libcall LC = GetFPLibCall(VT, RTLIB::POWI_F32, RTLIB::POWI_F64,
                                      RTLIB::POWI_F80, RTLIB::POWI_PPCF128);
-    SDValue Dummy;
-    Result = ExpandLibCall(LC, Node, false/*sign irrelevant*/, Dummy);
+    Result = ExpandLibCall(LC, Node, false/*sign irrelevant*/);
     break;
   }
   case ISD::SADDO:
@@ -2996,7 +2991,7 @@
 // by-reg argument.  If it does fit into a single register, return the result
 // and leave the Hi part unset.
 SDValue SelectionDAGLegalize::ExpandLibCall(RTLIB::Libcall LC, SDNode *Node,
-                                            bool isSigned, SDValue &Hi) {
+                                            bool isSigned) {
   assert(!IsLegalizingCall && "Cannot overlap legalization of calls!");
   // The input chain to this libcall is the entry node of the function.
   // Legalizing the call will automatically add the previous call to the





More information about the llvm-commits mailing list