From: Adam Nemet Date: Wed, 15 Jun 2016 12:26:15 +0000 (+0000) Subject: [LV] Remove more unused functions. NFC X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=77e7a065b267d06427485509702a41b62e8ddeae;p=llvm [LV] Remove more unused functions. NFC LoopVectorizationLegality::strides_begin/end are also unused. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@272781 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Vectorize/LoopVectorize.cpp b/lib/Transforms/Vectorize/LoopVectorize.cpp index 77d96481162..2b2467746f1 100644 --- a/lib/Transforms/Vectorize/LoopVectorize.cpp +++ b/lib/Transforms/Vectorize/LoopVectorize.cpp @@ -1375,10 +1375,6 @@ public: unsigned getMaxSafeDepDistBytes() { return LAI->getMaxSafeDepDistBytes(); } bool hasStride(Value *V) { return StrideSet.count(V); } - SmallPtrSet::iterator strides_begin() { - return StrideSet.begin(); - } - SmallPtrSet::iterator strides_end() { return StrideSet.end(); } /// Returns true if the target machine supports masked store operation /// for the given \p DataType and kind of access to \p Ptr.