[Mlir-commits] [mlir] [mlir][SCF] Modernize `coalesceLoops` method to handle `scf.for` loops with iter_args (PR #87019)

Oleksandr Alex Zinenko llvmlistbot at llvm.org
Fri Mar 29 08:06:49 PDT 2024


================
@@ -28,6 +29,11 @@ namespace {
 struct TestSCFParallelLoopCollapsing
     : public impl::TestSCFParallelLoopCollapsingBase<
           TestSCFParallelLoopCollapsing> {
+
+  void getDependentDialects(DialectRegistry &registry) const override {
+    registry.insert<affine::AffineDialect>();
+  }
+
----------------
ftynse wrote:

We shouldn't have a dependency on affine from SCF.

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


More information about the Mlir-commits mailing list