[llvm] r226826 - Silencing a -Wsign-compare warning (all uses of this constant are within unsigned expressions anyway); NFC.
Aaron Ballman
aaron at aaronballman.com
Thu Jan 22 05:57:41 PST 2015
Author: aaronballman
Date: Thu Jan 22 07:57:41 2015
New Revision: 226826
URL: http://llvm.org/viewvc/llvm-project?rev=226826&view=rev
Log:
Silencing a -Wsign-compare warning (all uses of this constant are within unsigned expressions anyway); NFC.
Modified:
llvm/trunk/lib/Transforms/Vectorize/SLPVectorizer.cpp
Modified: llvm/trunk/lib/Transforms/Vectorize/SLPVectorizer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Vectorize/SLPVectorizer.cpp?rev=226826&r1=226825&r2=226826&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Vectorize/SLPVectorizer.cpp (original)
+++ llvm/trunk/lib/Transforms/Vectorize/SLPVectorizer.cpp Thu Jan 22 07:57:41 2015
@@ -82,7 +82,7 @@ static const unsigned AliasedCheckLimit
// Another limit for the alias checks: The maximum distance between load/store
// instructions where alias checks are done.
// This limit is useful for very large basic blocks.
-static const int MaxMemDepDistance = 160;
+static const unsigned MaxMemDepDistance = 160;
/// \returns the parent basic block if all of the instructions in \p VL
/// are in the same block or null otherwise.
More information about the llvm-commits
mailing list