[llvm] [mlir] [mlir][core] Add an MLIR "pattern catalog" generator (PR #146228)

Jeremy Kun via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 1 22:26:29 PDT 2025


================
@@ -0,0 +1,55 @@
+#include "mlir/IR/PatternMatch.h"
+#include "llvm/Support/Debug.h"
+
+#define DEBUG_TYPE "pattern-logging-listener"
+
+using namespace mlir;
+
+static constexpr StringLiteral catalogPrefix = "PatternLoggingListener: ";
----------------
j2kun wrote:

Added

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


More information about the llvm-commits mailing list