JIT: Make loop inversion graph based#109346
JIT: Make loop inversion graph based#109346jakobbotsch wants to merge 13 commits intodotnet:mainfrom
Conversation
Rewrite loop inversion to be graph based and to use the new loop representation.
I suspect you're unblocking loop cloning in quite a few more instances -- when I prototyped this locally, I had similar size increases. |
Doesn't appear to be loop cloning -- there are similar with loop cloning disabled in both the base/diff. |
|
Draft Pull Request was automatically closed for 30 days of inactivity. Please let us know if you'd like to reopen it. |
|
@jakobbotsch I hope you don't mind me reviving this, but I looked at the diffs from this change on top of main to see where we stand now. With loop cloning and unrolling disabled, I see some instances where lexical loop inversion would do a transformation that I think |
Rewrite loop inversion to be graph based and to use the new loop representation.
Contributes to #107749
Contributes to #108913
Currently has large size regressions that I haven't dug into yet.