This is an archive of the discontinued LLVM Phabricator instance.

[mlir][Pass][NFC] Replace usages of ModulePass with OperationPass<ModuleOp>
ClosedPublic

Authored by rriddle on Apr 2 2020, 2:44 PM.

Details

Summary

ModulePass doesn't provide any special utilities and thus doesn't give enough benefit to warrant a special pass class. This revision replaces all usages with the more general OperationPass.

Diff Detail

Event Timeline

rriddle created this revision.Apr 2 2020, 2:44 PM
Herald added a reviewer: herhut. · View Herald Transcript
Herald added a reviewer: aartbik. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
mehdi_amini accepted this revision.Apr 2 2020, 5:21 PM
This revision is now accepted and ready to land.Apr 2 2020, 5:21 PM
This revision was automatically updated to reflect the committed changes.