[Mlir-commits] [mlir] Introduce new Unroll And Jam loop transform for SCF/Affine loops (PR #94142)
Aviad Cohen
llvmlistbot at llvm.org
Sun Jun 16 20:28:12 PDT 2024
================
@@ -591,6 +591,7 @@ ForOp::replaceWithAdditionalYields(RewriterBase &rewriter,
// Replace the old loop.
rewriter.replaceOp(getOperation(),
newLoop->getResults().take_front(getNumResults()));
+ newLoop->setAttrs(getOperation()->getAttrs());
----------------
AviadCo wrote:
I agree this change is not relevant to this change (found it during testing of this change), Moved it to another PR: https://github.com/llvm/llvm-project/pull/95502
https://github.com/llvm/llvm-project/pull/94142
More information about the Mlir-commits
mailing list