[Mlir-commits] [mlir] [mlir][emitc] Inline constant when translate (PR #143485)

Simon Camphausen llvmlistbot at llvm.org
Thu Jun 12 00:59:28 PDT 2025


simon-camp wrote:

One could argue that the emitc.constant shouldn't have the ConstantLike trait as it's emitted as local variables and thus has side effects. What's your opinion on this @marbre @aniragil @mgehre-amd?

That would also be disruptive downstream though as constants wouldn't be deduplicated anymore.

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


More information about the Mlir-commits mailing list