]> granicus.if.org Git - llvm/commitdiff
[LV] Remove more unused functions. NFC
authorAdam Nemet <anemet@apple.com>
Wed, 15 Jun 2016 12:26:15 +0000 (12:26 +0000)
committerAdam Nemet <anemet@apple.com>
Wed, 15 Jun 2016 12:26:15 +0000 (12:26 +0000)
LoopVectorizationLegality::strides_begin/end are also unused.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@272781 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Vectorize/LoopVectorize.cpp

index 77d964811620d4e1b9006879c89fc379ce8885be..2b2467746f157c91f053bab788f25ba1ace1c3cc 100644 (file)
@@ -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.