From a05214fb5d50a68c52a01333e74cd5e551f02b85 Mon Sep 17 00:00:00 2001 From: Johannes Doerfert Date: Wed, 15 Oct 2014 23:24:28 +0000 Subject: [PATCH] [Refactor][NfC] ReportLevel should be used as a bool not an int llvm-svn: 219864 --- polly/lib/Analysis/ScopDetection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polly/lib/Analysis/ScopDetection.cpp b/polly/lib/Analysis/ScopDetection.cpp index 8b1c68c9..de74f82 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; -- 2.7.4