From 591e043a7af04d1d5e13beb22867fef32985c57b Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Thu, 22 Jan 2015 13:57:41 +0000 Subject: [PATCH] Silencing a -Wsign-compare warning (all uses of this constant are within unsigned expressions anyway); NFC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226826 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Vectorize/SLPVectorizer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Transforms/Vectorize/SLPVectorizer.cpp b/lib/Transforms/Vectorize/SLPVectorizer.cpp index 8962fbffc85..fb1f64ba14a 100644 --- a/lib/Transforms/Vectorize/SLPVectorizer.cpp +++ b/lib/Transforms/Vectorize/SLPVectorizer.cpp @@ -82,7 +82,7 @@ static const unsigned AliasedCheckLimit = 10; // 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.