[llvm] r272781 - [LV] Remove more unused functions. NFC

Adam Nemet via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 15 05:26:15 PDT 2016


Author: anemet
Date: Wed Jun 15 07:26:15 2016
New Revision: 272781

URL: http://llvm.org/viewvc/llvm-project?rev=272781&view=rev
Log:
[LV] Remove more unused functions.  NFC

LoopVectorizationLegality::strides_begin/end are also unused.

Modified:
    llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp

Modified: llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp?rev=272781&r1=272780&r2=272781&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp (original)
+++ llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp Wed Jun 15 07:26:15 2016
@@ -1375,10 +1375,6 @@ public:
   unsigned getMaxSafeDepDistBytes() { return LAI->getMaxSafeDepDistBytes(); }
 
   bool hasStride(Value *V) { return StrideSet.count(V); }
-  SmallPtrSet<Value *, 8>::iterator strides_begin() {
-    return StrideSet.begin();
-  }
-  SmallPtrSet<Value *, 8>::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.




More information about the llvm-commits mailing list