[PATCH] D80656: [mlir][SCF] Add utility to clone an scf.ForOp while appending new yield values.
Uday Bondhugula via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 28 12:38:30 PDT 2020
bondhugula added inline comments.
================
Comment at: mlir/lib/Transforms/Utils/LoopUtils.cpp:2567
+
+ newYield.erase();
+ return newLoop;
----------------
ftynse wrote:
> This is not allowed if OpBuilder is a ConversionRewriter, use b.eraseOp instead
Hmm... but there is no OpBuilder::eraseOp; it only exists in PatternRewriters.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D80656/new/
https://reviews.llvm.org/D80656
More information about the llvm-commits
mailing list