summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Doerfert <doerfert@cs.uni-saarland.de>2014-10-15 23:24:28 +0000
committerJohannes Doerfert <doerfert@cs.uni-saarland.de>2014-10-15 23:24:28 +0000
commita05214fb5d50a68c52a01333e74cd5e551f02b85 (patch)
treeebb3eedd69610c097fce5c11ef2138516a5de19e
parentaeb9a06ff50fde033d442e7757cab1bb36e3b684 (diff)
downloadbcm5719-llvm-a05214fb5d50a68c52a01333e74cd5e551f02b85.tar.gz
bcm5719-llvm-a05214fb5d50a68c52a01333e74cd5e551f02b85.zip
[Refactor][NfC] ReportLevel should be used as a bool not an int
llvm-svn: 219864
-rw-r--r--polly/lib/Analysis/ScopDetection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/polly/lib/Analysis/ScopDetection.cpp b/polly/lib/Analysis/ScopDetection.cpp
index 8b1c68c96f6..de74f82cb8b 100644
--- a/polly/lib/Analysis/ScopDetection.cpp
+++ b/polly/lib/Analysis/ScopDetection.cpp
@@ -934,7 +934,7 @@ bool ScopDetection::runOnFunction(llvm::Function &F) {
for (const Region *R : ValidRegions)
emitValidRemarks(F, R);
- if (ReportLevel >= 1)
+ if (ReportLevel)
printLocations(F);
return false;
OpenPOWER on IntegriCloud