[Mlir-commits] [mlir] [mlir][SMT] C APIs (PR #135501)

Martin Erhart llvmlistbot at llvm.org
Mon Apr 14 08:52:50 PDT 2025


================
@@ -0,0 +1,122 @@
+//===- SMT.cpp - C interface for the SMT dialect --------------------------===//
+//
+// 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
+//
+//===----------------------------------------------------------------------===//
+
+#include "mlir-c/Dialect/SMT.h"
+#include "mlir/CAPI/Registration.h"
+#include "mlir/Dialect/SMT/IR/SMTDialect.h"
+#include "mlir/Dialect/SMT/IR/SMTOps.h"
----------------
maerhart wrote:

Nit: including SMTTypes.h and SMTAttributes.h instead of SMTOps.h should usually be enough.

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


More information about the Mlir-commits mailing list