summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2015-05-20 14:53:50 +0000
committerAaron Ballman <aaron@aaronballman.com>2015-05-20 14:53:50 +0000
commitff7d4fad5477c4a88c748f1c468476095ddc7fba (patch)
tree6547d30b7c180b67d3ed370fe3eaf3f40304d8e2 /llvm/lib
parentf61727d8808530dc60394b99c01d4b0124a05c42 (diff)
downloadbcm5719-llvm-ff7d4fad5477c4a88c748f1c468476095ddc7fba.tar.gz
bcm5719-llvm-ff7d4fad5477c4a88c748f1c468476095ddc7fba.zip
Silencing a -Wsign-compare warning; NFC.
llvm-svn: 237794
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp b/llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
index 505070552c1..06ade397cfa 100644
--- a/llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
+++ b/llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
@@ -1877,7 +1877,7 @@ chainToBasePointerCost(SmallVectorImpl<Instruction*> &Chain,
static void rematerializeLiveValues(CallSite CS,
PartiallyConstructedSafepointRecord &Info,
TargetTransformInfo &TTI) {
- const int ChainLengthThreshold = 10;
+ const unsigned int ChainLengthThreshold = 10;
// Record values we are going to delete from this statepoint live set.
// We can not di this in following loop due to iterator invalidation.
OpenPOWER on IntegriCloud