[llvm] r272780 - [LV] Remove unused function. NFC

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


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

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

LoopVectorizationLegality::mustCheckStrides is 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=272780&r1=272779&r2=272780&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp (original)
+++ llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp Wed Jun 15 07:26:11 2016
@@ -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();
   }




More information about the llvm-commits mailing list