From: Adam Nemet Date: Wed, 15 Jun 2016 12:26:11 +0000 (+0000) Subject: [LV] Remove unused function. NFC X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=89bc11c11216271b893155661b0ae37c35f8ed5e;p=llvm [LV] Remove unused function. NFC LoopVectorizationLegality::mustCheckStrides is unused. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@272780 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Vectorize/LoopVectorize.cpp b/lib/Transforms/Vectorize/LoopVectorize.cpp index 2a0b7ac6f82..77d96481162 100644 --- a/lib/Transforms/Vectorize/LoopVectorize.cpp +++ b/lib/Transforms/Vectorize/LoopVectorize.cpp @@ -1375,7 +1375,6 @@ public: unsigned getMaxSafeDepDistBytes() { return LAI->getMaxSafeDepDistBytes(); } bool hasStride(Value *V) { return StrideSet.count(V); } - bool mustCheckStrides() { return !StrideSet.empty(); } SmallPtrSet::iterator strides_begin() { return StrideSet.begin(); }