This is a draft, intended to trigger discussion. The core point I want to engage on is how the code would need to be structured to ensure we don't exit from loops we'd otherwise not of, and how to test.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
The issue mentioned around needing an exact loop exit count is still present, and after digging into the current code, more fundamental to the implementation than I'd recognized. Will probably return to this, but it's going to be hiatus for the near future.
Comment Actions
This has been subsumed by work which has landed in IndVarSimplify and is about to be enabled by default.