[Mlir-commits] [mlir] [mlir][GPU] gpu.printf: Do not emit duplicate format strings (PR #110504)

Ivan Butygin llvmlistbot at llvm.org
Mon Sep 30 07:06:22 PDT 2024


Hardcode84 wrote:

> Actually, a cache is dangerous because there could be a pattern that erases a cached op and now we have a dangling pointer.

Yeah. Another possible solution is to leave pattern as is and instead have a separate pass, which merges globals. This will also be useful outside this specific lowering.

https://github.com/llvm/llvm-project/pull/110504


More information about the Mlir-commits mailing list