This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Expose Arith::ExpandOps options in constructor
ClosedPublic

Authored by rsuderman on Apr 20 2023, 10:59 AM.

Details

Summary

ExpandOpsPass could only be configured via command line flags. Updated
to allowed constructing using the specified Options structure.

Diff Detail

Event Timeline

rsuderman created this revision.Apr 20 2023, 10:59 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 20 2023, 10:59 AM
rsuderman requested review of this revision.Apr 20 2023, 10:59 AM
rsuderman added a reviewer: NatashaKnk.
NatashaKnk accepted this revision.Apr 20 2023, 11:07 AM
This revision is now accepted and ready to land.Apr 20 2023, 11:07 AM
This revision was landed with ongoing or failed builds.Apr 20 2023, 11:20 AM
This revision was automatically updated to reflect the committed changes.

FYI, this code could be automatically generated by TableGen (https://github.com/llvm/llvm-project/issues/57475) by simply removing the let constructor = ...; field assignment in the Passes.td file