[Mlir-commits] [mlir] [MLIR][OpenMP] Add TableGen pseudo-generator for OpenMP-specific verification (PR #95552)

Sergio Afonso llvmlistbot at llvm.org
Thu Jun 27 04:51:52 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:

I figured out a better way, so this should be done now.

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


More information about the Mlir-commits mailing list