[Mlir-commits] [mlir] [MLIR][LLVM] Add Continuous Loop Peeling transform to SCF (PR #71555)

Matthias Springer llvmlistbot at llvm.org
Sun Nov 12 18:04:45 PST 2023


================
@@ -105,6 +106,168 @@ static void specializeForLoopForUnrolling(ForOp op) {
   op.erase();
 }
 
+static LogicalResult splitLoopHelper(RewriterBase &b, scf::ForOp &forOp,
----------------
matthias-springer wrote:

There is some code duplication with `peelForLoop`. Can this function be called from `peelForLoop`?

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


More information about the Mlir-commits mailing list