In D134622 the printed form of a pass manager is changed to include the
name of the op that the pass manager is anchored on. This updates the
-pass-pipeline argument format to include the anchor op as well, so
that the printed form of a pipeline can be directly passed to
-pass-pipeline. In most cases this requires updating
-pass-pipeline='pipeline' to
-pass-pipeline='builtin.module(pipeline)'.
This also fixes an outdated assert that prevented running a
PassManager anchored on 'any'.
I've split out the mechanical test updates into D136193, but will
combine them into one commit before landing.
Please avoid using if initializers with nullable things. Can you also spell out auto here?