This is an archive of the discontinued LLVM Phabricator instance.

[MLIR] Helper class referencing MemRefType to unify runner implementations.
ClosedPublic

Authored by csigg on May 25 2020, 3:18 AM.

Details

Summary

Add DynamicMemRefType which can reference one of the statically ranked StridedMemRefType or a UnrankedMemRefType so that runner utils only need to be implemented once.

There is definitely room for more clean up and unification, but I will keep that for follow-ups.

Diff Detail

Event Timeline

csigg created this revision.May 25 2020, 3:18 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 25 2020, 3:19 AM
csigg retitled this revision from Add DynamicMemRefType which can reference one of the statically ranked StridedMemRefType or a UnrankedMemRefType so that runner utils only need to be implemented once. to [MLIR] Helper class referencing MemRefType to unify runner implementations..May 25 2020, 4:45 AM
csigg edited the summary of this revision. (Show Details)
csigg added a reviewer: nicolasvasilache.
nicolasvasilache accepted this revision.May 26 2020, 2:56 AM

Thanks for the cleanup @csigg !

This revision is now accepted and ready to land.May 26 2020, 2:56 AM
This revision was automatically updated to reflect the committed changes.