Page MenuHomePhabricator

[mlir][test] Generalize a bunch of FuncOp based passes to run on any operation/interfaces
ClosedPublic

Authored by rriddle on Mar 8 2022, 12:49 AM.

Details

Summary

A lot of test passes are currently anchored on FuncOp, but this
dependency
is generally just historical. A majority of these test passes can run on
any operation, or can operate on a specific interface
(FunctionOpInterface/SymbolOpInterface).
This allows for greatly reducing the API dependency on FuncOp, which
is slated to be moved out of the Builtin dialect.

Diff Detail

Event Timeline

rriddle created this revision.Mar 8 2022, 12:49 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 8 2022, 12:49 AM
rriddle requested review of this revision.Mar 8 2022, 12:49 AM
nicolasvasilache accepted this revision.Mar 8 2022, 5:53 AM
This revision is now accepted and ready to land.Mar 8 2022, 5:53 AM
rriddle updated this revision to Diff 413842.Mar 8 2022, 9:40 AM
rriddle edited the summary of this revision. (Show Details)
mehdi_amini accepted this revision.Mar 8 2022, 11:01 AM