This is an archive of the discontinued LLVM Phabricator instance.

[MLIR] Add `decomposeMixedStridesOrOffsets` and `decomposeMixedSizes`
ClosedPublic

Authored by frgossen on Jun 22 2022, 1:37 PM.

Details

Summary

Add the reverse functions to the ViewLikeInterface's functions
getMixedStrides, getMixedSizes, and getMixedOffsets. The new functions
are useful to build view-like operations from an array of mixed static/dynamic
values.

Diff Detail

Event Timeline

frgossen created this revision.Jun 22 2022, 1:37 PM
frgossen requested review of this revision.Jun 22 2022, 1:37 PM
pifon2a accepted this revision.Jun 22 2022, 2:38 PM
This revision is now accepted and ready to land.Jun 22 2022, 2:38 PM