diff options
| author | Eli Friedman <eli.friedman@gmail.com> | 2009-05-27 02:21:29 +0000 |
|---|---|---|
| committer | Eli Friedman <eli.friedman@gmail.com> | 2009-05-27 02:21:29 +0000 |
| commit | b3554158c52bef8f09d6b7e13267d429bbc251f9 (patch) | |
| tree | f5db57a76324d9c2eddd5c1b3970d8c2769e625f /llvm/lib/CodeGen | |
| parent | a8f9a0261e736b32002932fe5c9a21ef81386198 (diff) | |
| download | bcm5719-llvm-b3554158c52bef8f09d6b7e13267d429bbc251f9.tar.gz bcm5719-llvm-b3554158c52bef8f09d6b7e13267d429bbc251f9.zip | |
Remove unused argument.
llvm-svn: 72455
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp index f3a48dd53ec..58e51780b07 100644 --- a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp @@ -153,8 +153,7 @@ private: 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 @@ SDValue SelectionDAGLegalize::LegalizeOp(SDValue Op) { 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 @@ SDValue SelectionDAGLegalize::LegalizeOp(SDValue Op) { } if (LC != RTLIB::UNKNOWN_LIBCALL) { - SDValue Dummy; - Result = ExpandLibCall(LC, Node, isSigned, Dummy); + Result = ExpandLibCall(LC, Node, isSigned); break; } @@ -2556,8 +2553,7 @@ SDValue SelectionDAGLegalize::LegalizeOp(SDValue Op) { 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 @@ SDValue SelectionDAGLegalize::LegalizeOp(SDValue Op) { // 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 @@ SDValue SelectionDAGLegalize::ExpandBUILD_VECTOR(SDNode *Node) { // 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 |

