This is an archive of the discontinued LLVM Phabricator instance.

[mlir][bufferize] Fix op filter
ClosedPublic

Authored by springerm on May 11 2022, 12:52 AM.

Details

Summary

Bufferization has an optional filter to exclude certain ops from analysis+bufferization. There were a few remaining places in the codebase where the filter was not checked.

Diff Detail

Event Timeline

springerm created this revision.May 11 2022, 12:52 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 11 2022, 12:52 AM
springerm requested review of this revision.May 11 2022, 12:52 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 11 2022, 12:52 AM
aartbik accepted this revision.May 11 2022, 9:13 AM

The reported failure seems unrelated but please double-check too.
Thanks for fixing this so quickly!

This revision is now accepted and ready to land.May 11 2022, 9:13 AM
This revision was landed with ongoing or failed builds.May 12 2022, 12:33 AM
This revision was automatically updated to reflect the committed changes.

The reported failure seems unrelated but please double-check too.
Thanks for fixing this so quickly!

The error looks unrelated. But because of the missing op filtering, some functions were getting called that should not have been called. That's where we ran into the assertion.