This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Finish removing FunctionPass
ClosedPublic

Authored by rriddle on Feb 1 2022, 1:28 PM.

Details

Summary

FunctionPass has been deprecated in favor of OperationPass<FuncOp>
for a few weeks, and this commit finished the deprecation with deletion.
The only difference between the two is that FunctionPass filters out function
declarations. When updating references to FunctionPass, ensure that
the pass either can handle declarations or explicitly add in filtering.

See https://llvm.discourse.group/t/functionpass-deprecated-in-favor-of-operationpass-funcop

Diff Detail

Event Timeline

rriddle created this revision.Feb 1 2022, 1:28 PM
rriddle requested review of this revision.Feb 1 2022, 1:28 PM
mehdi_amini accepted this revision.Feb 7 2022, 1:07 PM
This revision is now accepted and ready to land.Feb 7 2022, 1:07 PM
This revision was automatically updated to reflect the committed changes.