summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2015-01-22 13:57:41 +0000
committerAaron Ballman <aaron@aaronballman.com>2015-01-22 13:57:41 +0000
commit9ada6cd0f64a0ac586a35324f21dac8b5b41772c (patch)
tree733ff82f674409211a2d735498b4edb301eef9ec
parent8eb8204e3f585af94b539b28c7d850889fbc5fad (diff)
downloadbcm5719-llvm-9ada6cd0f64a0ac586a35324f21dac8b5b41772c.tar.gz
bcm5719-llvm-9ada6cd0f64a0ac586a35324f21dac8b5b41772c.zip
Silencing a -Wsign-compare warning (all uses of this constant are within unsigned expressions anyway); NFC.
llvm-svn: 226826
-rw-r--r--llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp b/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
index 8962fbffc85..fb1f64ba14a 100644
--- a/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+++ b/llvm/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.
OpenPOWER on IntegriCloud