[llvm] [mlir] [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


================
@@ -0,0 +1,992 @@
+//===- PDLPatternMatch.h - PDLPatternMatcher classes -------==---*- C++ -*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef MLIR_IR_PDLPATTERNMATCH_H
+#define MLIR_IR_PDLPATTERNMATCH_H
+
+#if MLIR_ENABLE_PDL
+#include "mlir/IR/Builders.h"
+#include "mlir/IR/BuiltinOps.h"
----------------
joker-eph wrote:

There is no include from the to the PDL dialect: where is the coupling?

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


More information about the llvm-commits mailing list