[ORC] [mlir] Dump assembly from OrcJit

  • MLIR dev mailing list since that’s where the OrcJit I’m using is.

Thanks for all the details, Lang! What you described is exactly what I’m looking for!

Please, MLIR dev, let me know if this debug feature and the solution that Lang describes below is interesting for MLIR. I’ll dig more into the details then but it doesn’t seem too complicated.



Would be great to have!
I was looking for how to do something like this just a few days ago.

Indeed, dumping the assembly would be a helpful option for mlir-*-runner.

I implemented an initial version following Lang’s instructions and made it work for mlir-cpu-runner: https://github.com/tensorflow/mlir/pull/95