This is an archive of the discontinued LLVM Phabricator instance.

[mlir][memref]Add conversion support for memref.extract_aligned_pointer_as_index to LLVM
ClosedPublic

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

Diff Detail

Event Timeline

Herald added a project: Restricted Project. · View Herald Transcript
nicolasvasilache requested review of this revision.Sep 28 2022, 3:15 PM
Herald added a project: Restricted Project. · View Herald Transcript
pifon2a accepted this revision.Sep 29 2022, 2:11 AM
This revision is now accepted and ready to land.Sep 29 2022, 2:11 AM

I don't understand why the pattern is restricted to allocs and block arguments. One can trivially have a non-alloc operation than pass its result through a branch to make it a block argument.

Address comment.

I don't understand why the pattern is restricted to allocs and block arguments. One can trivially have a non-alloc operation than pass its result through a branch to make it a block argument.

No good reason, I was orthogonalizing unnecessarily.

This revision was landed with ongoing or failed builds.Sep 29 2022, 2:35 AM
This revision was automatically updated to reflect the committed changes.