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

Mehdi Amini llvmlistbot at llvm.org
Tue Jun 23 05:17:58 PDT 2026


joker-eph wrote:

I don't quite see why? This does not seem to be in line with any of the other dialects and lowering.

Aligning with the expected historical and current behavior in MLIR, the lowering needs to be changed to drop these discardable attributes.

You're proposing a change that may makes sense, but does not belong to a specific op verifier IMO (why would we have this here and not for `arith` dialect with all the other inherent attributes?)

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


More information about the Mlir-commits mailing list