[flang-commits] [flang] [mlir] [mlir] Do not merge blocks during canonicalization by default (PR #95057)

Giuseppe Rossini via flang-commits flang-commits at lists.llvm.org
Wed Jun 12 06:34:40 PDT 2024


================
@@ -45,7 +55,8 @@ class GreedyRewriteConfig {
   /// patterns.
   ///
   /// Note: Only applicable when simplifying entire regions.
-  bool enableRegionSimplification = true;
+  GreedySimplifyRegionLevel enableRegionSimplification =
+      GreedySimplifyRegionLevel::Aggressive;
----------------
giuseros wrote:

Ok, that's fine. I will try to work on the core issue, and meanwhile we can configure the rewriter to do a `Normal` region simplification. 

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


More information about the flang-commits mailing list