[Mlir-commits] [mlir] [MLIR][LLVM] Add Continuous Loop Peeling transform to SCF (PR #71555)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Mon Nov 13 06:09:30 PST 2023
================
@@ -105,6 +106,168 @@ static void specializeForLoopForUnrolling(ForOp op) {
op.erase();
}
+static LogicalResult splitLoopHelper(RewriterBase &b, scf::ForOp &forOp,
----------------
muneebkhan85 wrote:
Yes, the function can be called from peelForLoop. The test mlir/test/Dialect/SCF/for-loop-peeling.mlir passes in either cases when spliLoopHelper is called in the begging or in the end as shown here
https://github.com/llvm/llvm-project/pull/71555
More information about the Mlir-commits
mailing list