This is an archive of the discontinued LLVM Phabricator instance.

[mlir][linalg] Treat quant dialect type as unsupported in named conversion
ClosedPublic

Authored by Lewuathe on May 23 2023, 11:16 PM.

Details

Summary

Since the tosa-to-linalg conversion does not support the quant dialect type, we can treat it as unsupported instead of crash. Issue was reported https://github.com/llvm/llvm-project/issues/62367

Diff Detail

Event Timeline

Lewuathe created this revision.May 23 2023, 11:16 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 23 2023, 11:16 PM
Lewuathe requested review of this revision.May 23 2023, 11:16 PM
springerm accepted this revision.May 23 2023, 11:42 PM

Nit: Such test cases are usually named ...-invalid.mlir, so tosa-to-linalg-invalid.mlir or just invalid.mlir would be consistent with the other tests.

This revision is now accepted and ready to land.May 23 2023, 11:42 PM