Page MenuHomePhabricator
Feed Advanced Search

Mon, Jul 27

abidmalikwaterloo updated the diff for D75384: OpenMP for loop fusion.
Mon, Jul 27, 1:42 PM · Restricted Project

Apr 7 2020

abidmalikwaterloo added a comment to D75384: OpenMP for loop fusion.

This doesn't seem to use dominance at all. How do you handle

if (a) {
#pragma omp for
for (int i = 0; i < 10; i++)
  ;
} else {
#pragma omp for
for (int i = 0; i < 10; i++)
  ;
}

if the value of a is known at the time of compilation, we will only have one "for loop". Therefore, for this specific case, the implemented technique will see only one "for loop" at the IR level. This case should be a problem.

Apr 7 2020, 9:44 AM · Restricted Project
abidmalikwaterloo updated subscribers of D75384: OpenMP for loop fusion.
Apr 7 2020, 9:44 AM · Restricted Project

Apr 1 2020

abidmalikwaterloo added a comment to D75384: OpenMP for loop fusion.

This doesn't seem to use dominance at all. How do you handle

if (a) {
#pragma omp for
for (int i = 0; i < 10; i++)
  ;
} else {
#pragma omp for
for (int i = 0; i < 10; i++)
  ;
}
Apr 1 2020, 4:20 PM · Restricted Project

Mar 12 2020

abidmalikwaterloo updated the diff for D75384: OpenMP for loop fusion.
Mar 12 2020, 6:20 PM · Restricted Project

Feb 28 2020

abidmalikwaterloo created D75384: OpenMP for loop fusion.
Feb 28 2020, 1:42 PM · Restricted Project