I found this mlir-emitc repo which contains the conversion pass from the tosa dialect to emitC.
The repo is archived and states that the code has been integrated upstream, however I can’t find any conversion from tosa to emitC there.
I assume that it is anyways better to split this over multiple passes, probably something like tosa → linalg → arith → emitC.
Are there any examples available?
I can’t find any conversions from linalg to arith or emitC either.