Increase the limit of SCF nested tiling loop to 10
authorChe-Yu Wu <cheyuw@google.com>
Wed, 16 Nov 2022 23:01:09 +0000 (23:01 +0000)
committerChe-Yu Wu <cheyuw@google.com>
Thu, 17 Nov 2022 08:00:21 +0000 (08:00 +0000)
Differential Revision: https://reviews.llvm.org/D138156

mlir/lib/Dialect/SCF/Utils/Utils.cpp

index d5272f4..2b9aa9d 100644 (file)
@@ -115,7 +115,7 @@ SmallVector<scf::ForOp> mlir::replaceLoopNestWithNewYields(
   // This method is recursive (to make it more readable). Adding an
   // assertion here to limit the recursion. (See
   // https://discourse.llvm.org/t/rfc-update-to-mlir-developer-policy-on-recursion/62235)
-  assert(loopNest.size() <= 6 &&
+  assert(loopNest.size() <= 10 &&
          "exceeded recursion limit when yielding value from loop nest");
 
   // To yield a value from a perfectly nested loop nest, the following