This change modifies the header comment to IR dumped by
`-mlir-print-ir-*` flags. The new comment contains the exact pass
pipeline run for the pass in question. This is useful when using
`mlir-print-ir-tree-dir`, as it provides the exact reproducing pass
pipeline that can be used on the dumped IR.
For example, when using --mlir-print-ir-before-all when triaging a stack
trace, the last dumped IR (along with this new comment) can be used to
reproduce the failure with a single pass.
Before:
```
// -----// IR Dump Before CanonicalizerPass (canonicalize) //----- //
```
After:
```
// -----// IR Dump Before CanonicalizerPass: canonicalize{cse-between-iterations=false max-iterations=5 max-num-rewrites=-1 region-simplify=normal test-convergence=false top-down=true} //----- //
```
---------
Co-authored-by: Jeremy Kun <j2kun@users.noreply.github.com>