[Mlir-commits] [mlir] [llvm] [mlir] Add config for PDL (PR #69927)

Mehdi Amini llvmlistbot at llvm.org
Sat Dec 9 20:29:59 PST 2023


================
@@ -1863,6 +944,8 @@ class RewritePatternSet {
 
   MLIRContext *const context;
   NativePatternListT nativePatterns;
+
+  // Technically not needed if PDL not enabled. Stubs enable less ifdefs.
----------------
joker-eph wrote:

```suggestion
  /// Patterns expressed with PDL. This will compile to a stub class when PDL is not enabled.
```

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


More information about the Mlir-commits mailing list