[Mlir-commits] [mlir] [mlir][Affine] Let affine.[de]linearize_index omit outer bounds (PR #116103)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Wed Nov 13 20:28:07 PST 2024


================
@@ -1082,6 +1081,25 @@ def AffineDelinearizeIndexOp : Affine_Op<"delinearize_index",
     %indices_1 = affine.apply #map1()[%linear_index]
     %indices_2 = affine.apply #map2()[%linear_index]
     ```
+
+    The basis may either contain `N` or `N-1` elements, where `N` is the nubrer of results.
----------------
MaheshRavishankar wrote:

nit : `s/nubrer/number`

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


More information about the Mlir-commits mailing list