[Mlir-commits] [mlir] [mlir][SCF] Add `scf::tileAndFuseConsumer` that tiles a consumer into a given tiled loop nest. (PR #167634)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Thu Nov 20 11:52:09 PST 2025
================
@@ -1092,7 +1092,7 @@ static LogicalResult addInitOperandsToLoopNest(
for (auto [outerLoop, innerLoop] :
llvm::zip_equal(loops.drop_back(), loops.drop_front())) {
// Again assume that all the outer loops are scf.for operations.
- auto outerForLoop = cast<scf::ForOp>(outerLoop);
+ auto outerForLoop = cast<scf::ForOp>(outerLoop.getOperation());
----------------
MaheshRavishankar wrote:
I was getting a warning/error without this for whatever reason. Adding this fixed it. I didnt look further as to why cause this seemed reasonable enough thing to do.
https://github.com/llvm/llvm-project/pull/167634
More information about the Mlir-commits
mailing list