forked from OSchip/llvm-project
Do not use the assumed context in the dependence analysis any more
This information is implicitly available through the multi-dimensionality of memory accesses. This reduces compile time for 3mm from 430ms to 400ms and should generally benefit compile time for cases where the assumed context is complex. llvm-svn: 247907
This commit is contained in:
parent
5fd8c0961e
commit
0537f41de5
|
@ -265,8 +265,6 @@ void Dependences::calculateDependences(Scop &S) {
|
|||
if (isl_union_map_is_empty(AccessSchedule)) {
|
||||
isl_union_map_free(AccessSchedule);
|
||||
Schedule = S.getScheduleTree();
|
||||
Schedule = isl_schedule_intersect_domain(
|
||||
Schedule, isl_union_set_from_set(S.getAssumedContext()));
|
||||
} else {
|
||||
auto *ScheduleMap =
|
||||
isl_union_map_union(AccessSchedule, isl_union_map_copy(StmtSchedule));
|
||||
|
|
Loading…
Reference in New Issue