Closed xurui1995 closed 3 weeks ago
when driver is mlir, the llvm.emit_c_interface is not added automatically. This PR added the llvm.emit_c_interface attr after creating the ir module.
llvm.emit_c_interface
when driver is mlir, the
llvm.emit_c_interface
is not added automatically. This PR added thellvm.emit_c_interface
attr after creating the ir module.