[llvm] r319061 - Delete obsolete function mergeUseListsImpl

Jonas Hahnfeld via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 27 09:55:47 PST 2017


Author: hahnfeld
Date: Mon Nov 27 09:55:47 2017
New Revision: 319061

URL: http://llvm.org/viewvc/llvm-project?rev=319061&view=rev
Log:
Delete obsolete function mergeUseListsImpl

mergeUseLists is implemented iteratively since r243590.

Differential Revision: https://reviews.llvm.org/D40491

Modified:
    llvm/trunk/include/llvm/IR/Value.h

Modified: llvm/trunk/include/llvm/IR/Value.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/Value.h?rev=319061&r1=319060&r2=319061&view=diff
==============================================================================
--- llvm/trunk/include/llvm/IR/Value.h (original)
+++ llvm/trunk/include/llvm/IR/Value.h Mon Nov 27 09:55:47 2017
@@ -651,12 +651,6 @@ private:
     return Merged;
   }
 
-  /// \brief Tail-recursive helper for \a mergeUseLists().
-  ///
-  /// \param[out] Next the first element in the list.
-  template <class Compare>
-  static void mergeUseListsImpl(Use *L, Use *R, Use **Next, Compare Cmp);
-
 protected:
   unsigned short getSubclassDataFromValue() const { return SubclassData; }
   void setValueSubclassData(unsigned short D) { SubclassData = D; }




More information about the llvm-commits mailing list