[Mlir-commits] [mlir] [mlir] add a fluent API to	GreedyRewriterConfig (PR #132253)
    Mehdi Amini 
    llvmlistbot at llvm.org
       
    Fri Apr  4 08:59:40 PDT 2025
    
    
  
================
@@ -50,24 +50,41 @@ class GreedyRewriteConfig {
   ///
   /// Note: Only applicable when simplifying entire regions.
   bool useTopDownTraversal = false;
+  GreedyRewriteConfig &setUseTopDownTraversal(bool use = true) {
+    useTopDownTraversal = use;
+    return *this;
+  }
----------------
joker-eph wrote:
You marked it resolved but I don't see he change in this class?
https://github.com/llvm/llvm-project/pull/132253
    
    
More information about the Mlir-commits
mailing list