aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Threading.cpp
diff options
context:
space:
mode:
authorAshay Rane <ashay@users.noreply.github.com>2022-08-05 12:16:51 -0700
committerAshay Rane <ashay@users.noreply.github.com>2022-08-07 15:48:38 -0700
commitd1bb3016ddc8331a96048eda37ab13bf412c7749 (patch)
tree29b495cb6b6db589139e0eba8c6982c0d10bc42a /llvm/lib/Support/Threading.cpp
parent10de5512971014cb98d41feefcf4206ca442c743 (diff)
downloadllvm-d1bb3016ddc8331a96048eda37ab13bf412c7749.zip
llvm-d1bb3016ddc8331a96048eda37ab13bf412c7749.tar.gz
llvm-d1bb3016ddc8331a96048eda37ab13bf412c7749.tar.bz2
[mlir] fix `add_tablegen()` macro to allow installing mlir-pdll
Prior to this patch, the `add_tablegen()` macro in llvm/cmake/modules/TableGen.cmake added the install rule only if `project` matched `LLVM` or `MLIR`. This patch adds an optional `DESTINATION` argument, which, if non-empty, decides whether (and where) to install the tablegen tool, thus eliminating the need for project-specific overrides. This patch also updates all other invocations of the `add_tablegen()` macro. Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D131282
Diffstat (limited to 'llvm/lib/Support/Threading.cpp')
0 files changed, 0 insertions, 0 deletions