[Mlir-commits] [mlir] Fix build error from #72178 (PR #72905)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Mon Nov 20 11:25:13 PST 2023
https://github.com/MaheshRavishankar created https://github.com/llvm/llvm-project/pull/72905
None
>From a07c46b556abf5fc73bd46420c52aba87a84f7e7 Mon Sep 17 00:00:00 2001
From: MaheshRavishankar <mahesh at nod-labs.com>
Date: Mon, 20 Nov 2023 11:23:04 -0800
Subject: [PATCH] Fix build error from #72178
---
mlir/lib/Dialect/SCF/Transforms/TileUsingInterface.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/mlir/lib/Dialect/SCF/Transforms/TileUsingInterface.cpp b/mlir/lib/Dialect/SCF/Transforms/TileUsingInterface.cpp
index b91af4d246d9919..902243626c45216 100644
--- a/mlir/lib/Dialect/SCF/Transforms/TileUsingInterface.cpp
+++ b/mlir/lib/Dialect/SCF/Transforms/TileUsingInterface.cpp
@@ -700,6 +700,8 @@ void mlir::scf::yieldReplacementForFusedProducer(
sliceOp.getMixedSizes(), sliceOp.getMixedStrides());
return {replacement};
}
+ // By default just return the block argument
+ return loops.back().getRegionIterArgs().back();
};
addInitOperandsToLoopNest(rewriter, loops,
More information about the Mlir-commits
mailing list