STATISTIC(ScopFound, "Number of valid Scops");
STATISTIC(RichScopFound, "Number of Scops containing a loop");
+STATISTIC(INFEASIBLE_SCOPS,
+ "Number of SCoPs with statically infeasible context.");
// If the loop is nonaffine/boxed, return the first non-boxed surrounding loop
// for Polly. If the loop is affine, return the loop itself. Do not call
DEBUG(scop->print(dbgs()));
if (!scop->hasFeasibleRuntimeContext()) {
+ INFEASIBLE_SCOPS++;
Msg = "SCoP ends here but was dismissed.";
scop.reset();
} else {