This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Broadcastable relax verification.
Needs ReviewPublic

Authored by jpienaar on Jul 31 2023, 7:54 AM.

Details

Summary

Relax verification to enable specialization (e.g., shape inference and
the like) to be run on a verified IR. This moves to verify failing only
for what is known to be incorrect, but the expectation of the trait is
unchanged.

Diff Detail

Event Timeline

jpienaar created this revision.Jul 31 2023, 7:54 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 31 2023, 7:54 AM
jpienaar requested review of this revision.Jul 31 2023, 7:54 AM

Hi Jacques. I was addressing these issues this morning myself. I submitted a separate patch with these and some additional changes here:

https://reviews.llvm.org/D156714

I will leave a comment in the RFC as well, as I no longer seem to be able to edit it:

https://discourse.llvm.org/t/tosa-to-linalg-lowering-of-element-wise-ops/71559