This is an archive of the discontinued LLVM Phabricator instance.

[MLIR] Clean up checks for alloc-like ops in analysis
ClosedPublic

Authored by bondhugula on Jul 10 2022, 12:51 AM.

Details

Summary

Clean up checks for alloc-like ops in analysis. Use the analysis
utility to properly check for the desired kind of effects. The previous
locality utility worked for all practical purposes but wasn't sound and
was locally duplicate code. Instead, use mlir::hasSingleEffect.

Diff Detail

Event Timeline

bondhugula created this revision.Jul 10 2022, 12:51 AM
bondhugula requested review of this revision.Jul 10 2022, 12:51 AM
rriddle accepted this revision.Jul 11 2022, 3:14 PM
This revision is now accepted and ready to land.Jul 11 2022, 3:14 PM
This revision was landed with ongoing or failed builds.Jul 16 2022, 12:25 AM
This revision was automatically updated to reflect the committed changes.