summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2014-10-02 13:17:11 +0000
committerAaron Ballman <aaron@aaronballman.com>2014-10-02 13:17:11 +0000
commit254dd7e4393cd813c5304812bd34dd433adf10d9 (patch)
treea118decad5bef3a30c8837a00c96d701d5a2255f
parentccc3e3733b1e92c01b9b764edc9b3f1f28f2dfed (diff)
downloadbcm5719-llvm-254dd7e4393cd813c5304812bd34dd433adf10d9.tar.gz
bcm5719-llvm-254dd7e4393cd813c5304812bd34dd433adf10d9.zip
Silence a -Wsign-compare warning. NFC.
llvm-svn: 218868
-rw-r--r--llvm/lib/Analysis/MemoryDependenceAnalysis.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/MemoryDependenceAnalysis.cpp b/llvm/lib/Analysis/MemoryDependenceAnalysis.cpp
index fe8697e31eb..9207ca2c4f5 100644
--- a/llvm/lib/Analysis/MemoryDependenceAnalysis.cpp
+++ b/llvm/lib/Analysis/MemoryDependenceAnalysis.cpp
@@ -49,10 +49,10 @@ STATISTIC(NumCacheCompleteNonLocalPtr,
"Number of block queries that were completely cached");
// Limit for the number of instructions to scan in a block.
-static const int BlockScanLimit = 100;
+static const unsigned int BlockScanLimit = 100;
// Limit on the number of memdep results to process.
-static const int NumResultsLimit = 100;
+static const unsigned int NumResultsLimit = 100;
char MemoryDependenceAnalysis::ID = 0;
OpenPOWER on IntegriCloud