[Mlir-commits] [mlir] Adding constraints to subview ValueBounds (PR #202994)
Matthias Springer
llvmlistbot at llvm.org
Wed Jun 10 07:49:56 PDT 2026
================
@@ -135,6 +135,8 @@ struct SubViewOpInterface
++ctr;
if (ctr == dim) {
cstr.bound(value)[dim] == subViewOp.getMixedSizes()[i];
+ cstr.bound(value)[dim] <= cstr.getExpr(subViewOp.getSource(), i) -
----------------
matthias-springer wrote:
I think we went back and forth on the semantics of `memref.subview`. @Groverkss was arguing for allowing out-of-bounds subview, but I'm not sure where we landed.
https://github.com/llvm/llvm-project/pull/202994
More information about the Mlir-commits
mailing list