[Mlir-commits] [mlir] [NFC] Simplify the tiling implementation using cloning. (PR #72178)
Matthias Springer
llvmlistbot at llvm.org
Mon Nov 13 17:22:07 PST 2023
================
@@ -128,6 +128,9 @@ static Operation *cloneOpAndUpdateDestinationArgs(RewriterBase &rewriter,
Operation *op,
ValueRange newDestArgs) {
Operation *clonedOp = rewriter.clone(*op);
+ if (newDestArgs.empty()) {
----------------
matthias-springer wrote:
nit: trivial braces can be omitted
https://github.com/llvm/llvm-project/pull/72178
More information about the Mlir-commits
mailing list