Remove an unused function parameter.
authorEvan Cheng <evan.cheng@apple.com>
Wed, 15 Feb 2006 22:12:35 +0000 (22:12 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Wed, 15 Feb 2006 22:12:35 +0000 (22:12 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26221 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp

index 0f703eb0d6ba6c89a703d2756102d73c6127a818..766f846968909eed4906a3075a4db5f6cb291bdc 100644 (file)
@@ -1505,7 +1505,7 @@ void SelectionDAGLowering::visitFrameReturnAddress(CallInst &I, bool isFrame) {
 /// getMemsetValue - Vectorized representation of the memset value
 /// operand.
 static SDOperand getMemsetValue(SDOperand Value, MVT::ValueType VT,
-                                SelectionDAG &DAG, TargetLowering &TLI) {
+                                SelectionDAG &DAG) {
   MVT::ValueType CurVT = VT;
   if (ConstantSDNode *C = dyn_cast<ConstantSDNode>(Value)) {
     uint64_t Val   = C->getValue() & 255;
@@ -1634,7 +1634,7 @@ void SelectionDAGLowering::visitMemIntrinsic(CallInst &I, unsigned Op) {
         for (unsigned i = 0; i < NumMemOps; i++) {
           MVT::ValueType VT = MemOps[i];
           unsigned VTSize = getSizeInBits(VT) / 8;
-          SDOperand Value = getMemsetValue(Op2, VT, DAG, TLI);
+          SDOperand Value = getMemsetValue(Op2, VT, DAG);
           SDOperand Store = DAG.getNode(ISD::STORE, MVT::Other, getRoot(),
                                         Value,
                                         getMemBasePlusOffset(Op1, Offset, DAG, TLI),