File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -932,13 +932,14 @@ static void runIslScheduleOptimizer(
932932 POLLY_DEBUG (dbgs () << " Schedule optimizer calculation exceeds ISL quota\n " );
933933 return ;
934934 } else if (isl_ctx_last_error (Ctx) != isl_error_none) {
935- const char *File = isl_ctx_last_error_file (Ctx);
936- int Line = isl_ctx_last_error_line (Ctx);
937- const char *Msg = isl_ctx_last_error_msg (Ctx);
938- POLLY_DEBUG (
939- dbgs ()
940- << " ISL reported an error during the computation of a new schedule at "
941- << File << " :" << Line << " : " << Msg);
935+ POLLY_DEBUG ({
936+ const char *File = isl_ctx_last_error_file (Ctx);
937+ int Line = isl_ctx_last_error_line (Ctx);
938+ const char *Msg = isl_ctx_last_error_msg (Ctx);
939+ dbgs () << " ISL reported an error during the computation of a new "
940+ " schedule at "
941+ << File << " :" << Line << " : " << Msg;
942+ });
942943 isl_ctx_reset_error (Ctx);
943944 return ;
944945 } else if (Schedule.is_null ()) {
You can’t perform that action at this time.
0 commit comments