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).
39 KiB
39 KiB