This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Fold trivial subtensor / subtensor_insert ops.
ClosedPublic

Authored by nicolasvasilache on Feb 18 2021, 1:04 PM.

Details

Summary

Static subtensor / subtensor_insert of the same size as the source / destination tensor and root @[0..0] with strides [1..1] are folded away.

Diff Detail

Event Timeline

nicolasvasilache requested review of this revision.Feb 18 2021, 1:04 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 18 2021, 1:04 PM
ThomasRaoux accepted this revision.Feb 18 2021, 1:32 PM
This revision is now accepted and ready to land.Feb 18 2021, 1:32 PM
This revision was landed with ongoing or failed builds.Feb 18 2021, 1:42 PM
This revision was automatically updated to reflect the committed changes.