This is an archive of the discontinued LLVM Phabricator instance.

[MLIR][Shape] Lower `shape.rank`
ClosedPublic

Authored by frgossen on Jun 18 2020, 3:57 AM.

Details

Summary

Lower shape.rank to standard dialect.
A shape's size is the same as the extent of the first and only dimension of the
tensor<?xindex> it is represented by.

Depends On D82077

Diff Detail

Event Timeline

frgossen created this revision.Jun 18 2020, 3:57 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 18 2020, 3:57 AM
herhut accepted this revision.Jun 19 2020, 2:07 AM
This revision is now accepted and ready to land.Jun 19 2020, 2:07 AM
frgossen retitled this revision from [MLIR][Shape] Lower `shape.get_size` to [MLIR][Shape] Lower `shape.rank`.Jun 19 2020, 7:18 AM
frgossen edited the summary of this revision. (Show Details)
This revision was automatically updated to reflect the committed changes.