[Mlir-commits] [mlir] 4fdf624 - Increase the limit of SCF nested tiling loop to 10

Che-Yu Wu llvmlistbot at llvm.org
Thu Nov 17 00:05:23 PST 2022


Author: Che-Yu Wu
Date: 2022-11-17T08:00:21Z
New Revision: 4fdf624b7866d13d4809634666c7c48a170412b2

URL: https://github.com/llvm/llvm-project/commit/4fdf624b7866d13d4809634666c7c48a170412b2
DIFF: https://github.com/llvm/llvm-project/commit/4fdf624b7866d13d4809634666c7c48a170412b2.diff

LOG: Increase the limit of SCF nested tiling loop to 10

Differential Revision: https://reviews.llvm.org/D138156

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/mlir/lib/Dialect/SCF/Utils/Utils.cpp b/mlir/lib/Dialect/SCF/Utils/Utils.cpp
index d5272f45b35c..2b9aa9d30274 100644
--- a/mlir/lib/Dialect/SCF/Utils/Utils.cpp
+++ b/mlir/lib/Dialect/SCF/Utils/Utils.cpp
@@ -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


        


More information about the Mlir-commits mailing list