[Mlir-commits] [mlir] [mlir][linalg] Add check for 'affine.for' map bound results (PR #127105)

Krzysztof Drewniak llvmlistbot at llvm.org
Thu Feb 13 11:48:44 PST 2025


================
@@ -1902,6 +1902,13 @@ LogicalResult AffineForOp::verifyRegions() {
     if (failed(verifyDimAndSymbolIdentifiers(*this, getUpperBoundOperands(),
                                              getUpperBoundMap().getNumDims())))
       return failure();
+  // Verify that the bound maps produce at least one result.
----------------
krzysz00 wrote:

This isn't a needed comment

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


More information about the Mlir-commits mailing list