[Mlir-commits] [mlir] [mlir][memref] Add static_sizes attribute to memref.view (PR #183795)

Amir Bishara llvmlistbot at llvm.org
Fri Feb 27 11:50:30 PST 2026


amirBish wrote:

> The pattern to support both SSA value and static operand really is more of anti-pattern than anything. I don't think we should do more of it, I would rather remove it from existing ops.

@joker-eph thanks for the reply, I mainly did this change to be able to a verification of in bounds for this operation, but encountered some inspection of constant operation, see this PR https://github.com/llvm/llvm-project/pull/177778 , Any suggestion how to handle it? and why is this being considered anti pattern? 

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


More information about the Mlir-commits mailing list