diff --git a/polly/lib/Analysis/ScopDetection.cpp b/polly/lib/Analysis/ScopDetection.cpp index 8b1c68c96f6c..de74f82cb8b7 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;