https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85531
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization Status|UNCONFIRMED |NEW Last reconfirmed| |2018-04-26 CC| |rguenth at gcc dot gnu.org Version|unknown |9.0 Ever confirmed|0 |1 --- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> --- Thanks. So -floop-nest-optimize (graphite) doens't do anything here, it detects the two loops just fine but simply doesn't do any transform. Probably similar to the interchange failure we miss to provide it with spatial constraints to minimize or so. The loop distribution pass is presented with a CFG and IL that should be indeed trivially analyzable (if we solve the dependence analysis issue).