[Mlir-commits] [mlir] [MLIR] Fix use-after-free in Remark by owning string data (PR #179889)

Guray Ozen llvmlistbot at llvm.org
Thu Feb 5 10:21:42 PST 2026


grypp wrote:

> Are the string materializations only happening when remarks are enabled? (Sorry on my phone and can’t check myself just now)

Yes, the string materializations only happen when remarks are enabled. It is gated here:
https://github.com/llvm/llvm-project/blob/main/mlir/include/mlir/IR/Remarks.h#L489


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


More information about the Mlir-commits mailing list