From 10da84cc7222bce5fba8526157729bcfd431c34d Mon Sep 17 00:00:00 2001 From: Adam Nemet Date: Wed, 15 Jun 2016 12:26:15 +0000 Subject: [PATCH] [LV] Remove more unused functions. NFC LoopVectorizationLegality::strides_begin/end are also unused. llvm-svn: 272781 --- lib/Transforms/Vectorize/LoopVectorize.cpp | 4 ---- 1 file changed, 4 deletions(-) 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.