This is an archive of the discontinued LLVM Phabricator instance.

[MLIR][Shape] Allow `shape.get_extent` to operate on extent tensors
ClosedPublic

Authored by frgossen on Jul 20 2020, 5:31 AM.

Details

Summary

shape.get_extent now accepts extent tensors tensor<?xindex> as an argument.

Depends On D84157

Diff Detail

Event Timeline

frgossen created this revision.Jul 20 2020, 5:31 AM
Herald added a reviewer: silvas. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
herhut accepted this revision.Jul 20 2020, 5:54 AM
herhut added inline comments.
mlir/test/Dialect/Shape/canonicalize.mlir
257

Should these also be tested on tensor types?

pifon2a accepted this revision.Jul 20 2020, 6:00 AM
frgossen updated this revision to Diff 279510.Jul 21 2020, 6:49 AM
frgossen marked an inline comment as done.

Test on extent tensor instead of shapes

jpienaar accepted this revision.Jul 23 2020, 2:24 PM
This revision is now accepted and ready to land.Jul 23 2020, 2:24 PM
This revision was automatically updated to reflect the committed changes.