This is an archive of the discontinued LLVM Phabricator instance.

[MLIR][LLVM] Add MemRead/MemWrite behavior to llvm store/load/addressof ops
ClosedPublic

Authored by wsmoses on Jan 11 2022, 10:34 AM.

Details

Summary

This patch adds corresponding memory effects to mlir llvm-dialect load/store/addressof ops, which thus enables canonicalizations of those ops (like dead code elimination) that rely on the effect interface

Diff Detail

Event Timeline

wsmoses created this revision.Jan 11 2022, 10:34 AM
wsmoses requested review of this revision.Jan 11 2022, 10:34 AM
wsmoses updated this revision to Diff 399018.Jan 11 2022, 10:43 AM

Add Addressof Op

wsmoses retitled this revision from [MLIR][LLVM] Add MemRead/MemWrite behavior to llvm store/load ops to [MLIR][LLVM] Add MemRead/MemWrite behavior to llvm store/load/addressof ops.Jan 11 2022, 10:44 AM
wsmoses edited the summary of this revision. (Show Details)
mehdi_amini accepted this revision.Jan 11 2022, 11:48 AM
This revision is now accepted and ready to land.Jan 11 2022, 11:48 AM
This revision was landed with ongoing or failed builds.Jan 11 2022, 11:55 AM
This revision was automatically updated to reflect the committed changes.