[Mlir-commits] [mlir] [mlir][scf] Expose kPeeledLoopLabel as a public marker attribute (PR #210922)
Mehdi Amini
llvmlistbot at llvm.org
Tue Jul 21 03:37:34 PDT 2026
================
@@ -106,6 +106,9 @@ LogicalResult peelForLoopAndSimplifyBounds(RewriterBase &rewriter, ForOp forOp,
LogicalResult peelForLoopFirstIteration(RewriterBase &rewriter, ForOp forOp,
scf::ForOp &partialIteration);
+/// Marker attribute name for loops that have already been peeled.
+static constexpr StringLiteral kPeeledLoopLabel = "__peeled_loop__";
----------------
joker-eph wrote:
This is breaking any encapsulation, can we hide this behind method checks please?
https://github.com/llvm/llvm-project/pull/210922
More information about the Mlir-commits
mailing list