[Mlir-commits] [mlir] [MLIR][OpenMP] Add TableGen pseudo-generator for OpenMP-specific verification (PR #95552)
Sergio Afonso
llvmlistbot at llvm.org
Wed Jun 26 08:51:49 PDT 2024
================
@@ -0,0 +1,143 @@
+// Tablegen tests for the verification of clause-based OpenMP dialect operation
+// definitions.
+
+// Run tablegen to generate OmpCommon.td in temp directory first.
+// RUN: mkdir -p %t/mlir/Dialect/OpenMP
+// RUN: mlir-tblgen --gen-directive-decl --directives-dialect=OpenMP \
+// RUN: %S/../../../llvm/include/llvm/Frontend/OpenMP/OMP.td \
+// RUN: -I %S/../../../llvm/include > %t/mlir/Dialect/OpenMP/OmpCommon.td
----------------
skatrak wrote:
Do you mean defining some other substitution and use it in place of "%S"?
https://github.com/llvm/llvm-project/pull/95552
More information about the Mlir-commits
mailing list