Index: lib/Analysis/ScopInfo.cpp =================================================================== --- lib/Analysis/ScopInfo.cpp +++ lib/Analysis/ScopInfo.cpp @@ -3350,6 +3350,7 @@ isl_union_pw_multi_aff *Res; }; +#ifndef NDEBUG // @brief Create a function that maps the elements of 'Set' to its N-th // dimension and add it to User->Res. // @@ -3376,6 +3377,7 @@ return isl_stat_ok; } +#endif // @brief Create an isl_multi_union_aff that defines an identity mapping // from the elements of USet to their N-th dimension. @@ -3404,9 +3406,11 @@ Data = {N, PwAff}; +#ifndef NDEBUG auto Res = isl_union_set_foreach_set(USet, &mapToDimension_AddSet, &Data); assert(Res == isl_stat_ok); +#endif isl_union_set_free(USet); return isl_multi_union_pw_aff_from_union_pw_multi_aff(Data.Res);