https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71351

--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> ---
Just our of curiosity, why graphite does a transformation as original and AST
are same:

[scheduler] original ast:
{
  for (int c0 = 0; c0 < P_19; c0 += 1) {
    S_4(c0);
    for (int c1 = 0; c1 <= 2; c1 += 1)
      S_5(c0, c1);
    S_7(c0);
  }
  S_9();
}

[scheduler] AST generated by isl:
{
  for (int c0 = 0; c0 < P_19; c0 += 1) {
    S_4(c0);
    for (int c1 = 0; c1 <= 2; c1 += 1)
      S_5(c0, c1);
    S_7(c0);
  }
  S_9();
}

Doing a transformation should be easy in that case.

Reply via email to