[llvm] [clang] [clang-tools-extra] [mlir] [mlir][TilingInterface] Early return cloned ops if tile sizes are zeros. (PR #75410)
Han-Chung Wang via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 18 09:24:10 PST 2023
================
@@ -362,14 +362,20 @@ mlir::scf::tileUsingSCFForOp(RewriterBase &rewriter, TilingInterface op,
auto clonedOp = cast<TilingInterface>(
cloneOpAndUpdateDestinationArgs(rewriter, op, clonedOpDestination));
- // 5b. Tile the cloned operation.
+ // 5b. Early return cloned op if tiling is not happening.
----------------
hanhanW wrote:
I actually tried that, but it crashes about rewriter states. I did not dig into details because I have less experience about that...
https://github.com/llvm/llvm-project/pull/75410
More information about the llvm-commits
mailing list