[Mlir-commits] [mlir] [MLIR] Add a utility pass to linearize `memref` (PR #136797)

Krzysztof Drewniak llvmlistbot at llvm.org
Wed May 21 13:49:10 PDT 2025


================
@@ -5089,6 +5089,31 @@ SmallVector<OpFoldResult> AffineLinearizeIndexOp::getPaddedBasis() {
   return ret;
 }
 
+namespace mlir {
+namespace affine {
+OpFoldResult computeProduct(Location loc, OpBuilder &builder,
----------------
krzysz00 wrote:

I don't think you need to move this anymore

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


More information about the Mlir-commits mailing list