This is an archive of the discontinued LLVM Phabricator instance.

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

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

Details

Summary

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

Repository
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.
mlir/test/Dialect/Affine/inlining.mlir
1

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
mlir/lib/Pass/PassRegistry.cpp
413–415

printAsTextualPipeline should already contain the anchor now