This is an archive of the discontinued LLVM Phabricator instance.

[MLIR][Shape] Refactor verification
AbandonedPublic

Authored by frgossen on Jul 23 2020, 9:38 AM.

Details

Summary

Eliminate duplicate code for verification purposes. This concerns operations
that operate on error (size, shape, ...) or non-error values (index,
tensor<?xindex>).

Depends On D84438

Diff Detail

Event Timeline

frgossen created this revision.Jul 23 2020, 9:38 AM
Herald added a reviewer: silvas. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
pifon2a accepted this revision.Jul 23 2020, 9:53 AM

This one was a bit restrictive and let to requiring some dynamic shapes where we had exact ranks, we can revise later, but that made canonicalization etc more tricky to reason about.

herhut accepted this revision.Jul 27 2020, 2:08 AM
frgossen updated this revision to Diff 281166.Jul 28 2020, 3:16 AM

Loosen verification

silvas accepted this revision.Jul 28 2020, 9:32 AM

Could you sync to head as I think this has some overlap with change I landed recently based on this :)