This is an archive of the discontinued LLVM Phabricator instance.

[mlir] subview op lowering for target memrefs with const offset
ClosedPublic

Authored by gysit on Feb 8 2020, 9:09 AM.

Details

Summary

The current standard to llvm conversion pass lowers subview ops only if dynamic offsets are provided. This commit extends the lowering with a code path that uses the constant offset of the target memref for the subview op lowering (see Example 3 of the subview op definition for an example) if no dynamic offsets are provided.

Diff Detail

Event Timeline

gysit created this revision.Feb 8 2020, 9:09 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 8 2020, 9:09 AM
ftynse accepted this revision.Feb 10 2020, 8:06 AM

Thanks, Tobias! Let me know if you need me to land this for you.

This revision is now accepted and ready to land.Feb 10 2020, 8:06 AM
This revision was automatically updated to reflect the committed changes.