This is an archive of the discontinued LLVM Phabricator instance.

[mlir][memref]Add pattern to forward memref.extract_aligned_pointer_as_index(view_like_op) to its source
ClosedPublic

Authored by nicolasvasilache on Sep 28 2022, 3:30 PM.

Diff Detail

Event Timeline

nicolasvasilache requested review of this revision.Sep 28 2022, 3:30 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 28 2022, 3:30 PM
qcolombet accepted this revision.Sep 28 2022, 5:13 PM

LGTM.

Not for this patch, but we may want to rename the pass. E.g., SimplifyExtractOpsPass, not a great name though :P.

This revision is now accepted and ready to land.Sep 28 2022, 5:13 PM