[PATCH] D40491: Delete obsolete function mergeUseListsImpl
Jonas Hahnfeld via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 27 06:30:38 PST 2017
Hahnfeld created this revision.
`mergeUseLists` is implemented iteratively since https://reviews.llvm.org/rL243590.
https://reviews.llvm.org/D40491
Files:
include/llvm/IR/Value.h
Index: include/llvm/IR/Value.h
===================================================================
--- include/llvm/IR/Value.h
+++ include/llvm/IR/Value.h
@@ -651,12 +651,6 @@
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; }
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40491.124369.patch
Type: text/x-patch
Size: 587 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171127/210fa2f7/attachment.bin>
More information about the llvm-commits
mailing list