[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:48 PDT 2024
================
@@ -3,6 +3,7 @@ mlir_tablegen(OmpCommon.td --gen-directive-decl --directives-dialect=OpenMP)
add_public_tablegen_target(omp_common_td)
set(LLVM_TARGET_DEFINITIONS OpenMPOps.td)
+mlir_tablegen(no-output -verify-openmp-ops)
----------------
skatrak wrote:
I made some changes here that basically remove the empty "no-output" files from the build directory and also prevent it from being added as a dependency. It's admittedly a bit of a hack, but I don't know if it's worth the effort to refactor the `mlir_tablegen` and `tablegen` CMake functions to allow non-generators like this one, since it seems like something that won't be useful that often.
https://github.com/llvm/llvm-project/pull/95552
More information about the Mlir-commits
mailing list