diff options
Diffstat (limited to 'polly/lib/Analysis/ScopInfo.cpp')
-rw-r--r-- | polly/lib/Analysis/ScopInfo.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/polly/lib/Analysis/ScopInfo.cpp b/polly/lib/Analysis/ScopInfo.cpp index 35fd272a721..ee464d158f8 100644 --- a/polly/lib/Analysis/ScopInfo.cpp +++ b/polly/lib/Analysis/ScopInfo.cpp @@ -2168,8 +2168,9 @@ static bool calculateMinMaxAccess(__isl_take isl_union_map *Accesses, isl_union_set *Locations = isl_union_map_range(Accesses); Locations = isl_union_set_coalesce(Locations); Locations = isl_union_set_detect_equalities(Locations); - bool Valid = (0 == isl_union_set_foreach_set(Locations, buildMinMaxAccess, - &MinMaxAccesses)); + bool Valid = (0 == + isl_union_set_foreach_set(Locations, buildMinMaxAccess, + &MinMaxAccesses)); isl_union_set_free(Locations); return Valid; } @@ -3055,8 +3056,9 @@ bool Scop::buildAliasGroups(AliasAnalysis &AA) { // Bail out if the number of values we need to compare is too large. // This is important as the number of comparisons grows quadratically with // the number of values we need to compare. - if (!Valid || (MinMaxAccessesNonReadOnly.size() + ReadOnlyPairs.size() > - RunTimeChecksMaxArraysPerGroup)) + if (!Valid || + (MinMaxAccessesNonReadOnly.size() + ReadOnlyPairs.size() > + RunTimeChecksMaxArraysPerGroup)) return false; // Calculate minimal and maximal accesses for read only accesses. |