This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Add support for PassManager options and use them in the Inliner

Authored by rriddle on Sep 22 2022, 2:22 PM.



After "any" pass managers were added, we can now default construct op pass
managers. This was the last remaining requirement to properly support
pass manager options. This commit finalizes this support, and updates the
default pass pipeline of the inliner to use a pass manager option instead
of a string.

Diff Detail

rG LLVM Github Monorepo
Build Status
Buildable 188262

Event Timeline

rriddle created this revision.Sep 22 2022, 2:22 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald Transcript
rriddle requested review of this revision.Sep 22 2022, 2:22 PM
mehdi_amini accepted this revision.Dec 13 2022, 9:02 AM
mehdi_amini added inline comments.

I'm curious about this change: how is it parsed differently if you don't change it?

This revision is now accepted and ready to land.Dec 13 2022, 9:02 AM

printAsTextualPipeline should already contain the anchor now