]> granicus.if.org Git - llvm/commitdiff
[LV] Remove unused function. NFC
authorAdam Nemet <anemet@apple.com>
Wed, 15 Jun 2016 12:26:11 +0000 (12:26 +0000)
committerAdam Nemet <anemet@apple.com>
Wed, 15 Jun 2016 12:26:11 +0000 (12:26 +0000)
LoopVectorizationLegality::mustCheckStrides is unused.

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

lib/Transforms/Vectorize/LoopVectorize.cpp

index 2a0b7ac6f829504788c4d3775f7f4419869076c4..77d964811620d4e1b9006879c89fc379ce8885be 100644 (file)
@@ -1375,7 +1375,6 @@ public:
   unsigned getMaxSafeDepDistBytes() { return LAI->getMaxSafeDepDistBytes(); }
 
   bool hasStride(Value *V) { return StrideSet.count(V); }
-  bool mustCheckStrides() { return !StrideSet.empty(); }
   SmallPtrSet<Value *, 8>::iterator strides_begin() {
     return StrideSet.begin();
   }