[Mlir-commits] [mlir] [mlir][gpu] Avoid duplicate attrs when lowering gpu.func (PR #205035)

Fabian Mora llvmlistbot at llvm.org
Tue Jun 23 04:55:50 PDT 2026


fabianmcg wrote:

> Your reasoning would apply to MLIR as whole, you seem to imply that any `<dialect>.<name>` discardable attribute that conflict with a `<name>` inherent attribute should be forbidden. I'm not sure I would agree with this though.

Only if the dialect of the op with inherent attr name collides with the discardable key `<dialect>.<name>`. Otherwise, these kind of errors can keep occurring, it also tells users they are likely making a mistake.

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


More information about the Mlir-commits mailing list