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

Oleksandr Alex Zinenko llvmlistbot at llvm.org
Fri Jun 14 07:52:13 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
----------------
ftynse wrote:

Non-blocking: any chance of threading this through LIT so we don't use relative paths going up too much?

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


More information about the Mlir-commits mailing list