This patch adds the skipFunction call so that LoopSimplify will partcipate.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
It looks like a number of passes have this as a required analysis pass, and some assert that loops are in the simplified form. Can you verify that all passes which depend on this pass can also be skipped by opt-bisect?
Comment Actions
What Andrew said.
The legacy pass manager does actually use this in pass-form by using implicit "requires" from the analysis stuff. And they'll crash if it isn't in simplified form.
We could add opt-bisect support to the pass, but it would need to be controlled very differently for cases where it isn't a fundamental requirement.