This is an archive of the discontinued LLVM Phabricator instance.

[MLIR] Fix/generalize affine LICM check for side-effecting ops
ClosedPublic

Authored by bondhugula on Jul 9 2023, 3:07 AM.

Details

Summary

Fix affine LICM for side-effecting ops. The code was special-cased for
DMA ops. Generalize it and use isMemoryEffectFree.

Diff Detail

Event Timeline

bondhugula created this revision.Jul 9 2023, 3:07 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 9 2023, 3:07 AM
bondhugula requested review of this revision.Jul 9 2023, 3:07 AM
bondhugula updated this revision to Diff 538414.Jul 9 2023, 3:12 AM

Add a code comment.

springerm accepted this revision.Jul 9 2023, 3:16 AM
This revision is now accepted and ready to land.Jul 9 2023, 3:16 AM