projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
750d17b
)
Increase the limit of SCF nested tiling loop to 10
author
Che-Yu Wu
<cheyuw@google.com>
Wed, 16 Nov 2022 23:01:09 +0000
(23:01 +0000)
committer
Che-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
patch
|
blob
|
history
diff --git
a/mlir/lib/Dialect/SCF/Utils/Utils.cpp
b/mlir/lib/Dialect/SCF/Utils/Utils.cpp
index
d5272f4
..
2b9aa9d
100644
(file)
--- 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