[Mlir-commits] [mlir] [MLIR][SCF] Add support for pipelining dynamic loops (PR #74350)

Thomas Raoux llvmlistbot at llvm.org
Sun Dec 10 21:42:15 PST 2023


================
@@ -214,6 +214,7 @@ struct TestSCFPipeliningPass
     RewritePatternSet patterns(&getContext());
     mlir::scf::PipeliningOption options;
     options.getScheduleFn = getSchedule;
+    options.supportDynamicLoops = true;
----------------
ThomasRaoux wrote:

The main reason why I made it an option is mostly to avoid breaking existing users. I turned it off for the case where epilogue is peeled, that allows testing that the dynamic case is not pipelined.


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


More information about the Mlir-commits mailing list