[Mlir-commits] [mlir] [mlir][test] Test conversion of TOSA to EmitC via LinAlg (PR #94640)
Simon Camphausen
llvmlistbot at llvm.org
Fri Jun 7 08:29:07 PDT 2024
simon-camp wrote:
What's happening is that the `--split-input-file` argument splices the file on the `// -----` lines, runs the passes on each chunk independently and joins the results back together. So multiple chunks generate this attribute independently with the same name. This then fails to parse in the next run line.
TL;DR: remove the `--split-input-file`arguments.
Interestingly the test then runs to line 15 where it crashes. The input to that invocation is [this](https://gist.github.com/simon-camp/8a4bc05eda7d65a6b136944dd032f732). I expected the lowering to fail there as we support neither dynamic shapes nor 0d memrefs in the conversion to EmitC, but the passes should fail with an error message instead of an assertion. I can take a look at this next week.
https://github.com/llvm/llvm-project/pull/94640
More information about the Mlir-commits
mailing list