[mlir][c] Add mlirOperationPrintWithState
Enable passing in MlirAsmState optionally (allow for passing in null) to allow using the more efficient print calling API. The existing print behavior results in a new AsmState is implicitly created by walking the parent op and renumbering values. This makes the cost more explicit and avoidable (by reusing an AsmState).
parent
de24b0ef
Please register or sign in to comment