[Mlir-commits] [llvm] [clang] [clang-tools-extra] [mlir] [mlir][TilingInterface] Early return cloned ops if tile sizes are zeros. (PR #75410)

Han-Chung Wang llvmlistbot at llvm.org
Mon Dec 18 09:25:37 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:

My take is that there are issues about replace op with itself. Do you want me to look into the crash further or add more comments to the code and commit?

https://github.com/llvm/llvm-project/pull/75410


More information about the Mlir-commits mailing list