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

Mehdi Amini via llvm-commits llvm-commits at lists.llvm.org
Sat Dec 9 20:29:59 PST 2023


================
@@ -97,6 +98,7 @@ LogicalResult RewritePattern::match(Operation *op) const {
 /// Out-of-line vtable anchor.
 void RewritePattern::anchor() {}
 
+#if MLIR_ENABLE_PDL
----------------
joker-eph wrote:

Can we extract the code in this file into a new .cpp and make it its own CMake library to manage enabling/disabling?

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


More information about the llvm-commits mailing list