Open Manav361 opened 2 weeks ago
Can you give us the original onnx file? Since we are mostly about lowering ONNX to LLVM, that is where we would like to see if something went wrong. Please a small reproducer if it's a large model.
Also, does it work if you issue the command that lower it directly to .so (namely -EmitLib
). That is how we usually issue the command.
Tx
Problem Description:
When running the following command to optimize
OPT.ll
by adding O3 optimization:an error occurs indicating an error in expected type:
I have attached the OPT.ll file to reproduce the error by running the above mentioned command. OPT.ll .
I generated OPT.ll using onnx-mlir tools and the commands are as follows:-
The above mentioned command generated the OPT.onnx.mlir
and OPT.ll is generated by the above command