[llvm] f55bac9 - [gn] Port 9f6250f more
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Mon May 29 17:25:47 PDT 2023
Author: Nico Weber
Date: 2023-05-29T20:24:25-04:00
New Revision: f55bac933f0b212ca630839c598510c9981ac2cb
URL: https://github.com/llvm/llvm-project/commit/f55bac933f0b212ca630839c598510c9981ac2cb
DIFF: https://github.com/llvm/llvm-project/commit/f55bac933f0b212ca630839c598510c9981ac2cb.diff
LOG: [gn] Port 9f6250f more
Follow-up to da54bd230a.
* Add dep to _cg and _sema targets only to CodeGen and Sema,
like with the other Basic clang_tablegen()s
* Make tablegen_headers depend on arm_sme_draft_spec_subject_to_change
so that the header gets installed
Added:
Modified:
llvm/utils/gn/secondary/clang/lib/Basic/BUILD.gn
llvm/utils/gn/secondary/clang/lib/CodeGen/BUILD.gn
llvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn
llvm/utils/gn/secondary/clang/lib/Sema/BUILD.gn
Removed:
################################################################################
diff --git a/llvm/utils/gn/secondary/clang/lib/Basic/BUILD.gn b/llvm/utils/gn/secondary/clang/lib/Basic/BUILD.gn
index ab89fac29c4e6..a8e2eb5779617 100644
--- a/llvm/utils/gn/secondary/clang/lib/Basic/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang/lib/Basic/BUILD.gn
@@ -27,8 +27,6 @@ static_library("Basic") {
"//clang/include/clang/Basic:arm_cde_builtins",
"//clang/include/clang/Basic:arm_mve_builtins",
"//clang/include/clang/Basic:arm_sme_builtins",
- "//clang/include/clang/Basic:arm_sme_builtin_cg",
- "//clang/include/clang/Basic:arm_sme_sema_rangechecks",
"//clang/include/clang/Basic:arm_sve_builtins",
"//clang/include/clang/Basic:arm_sve_typeflags",
"//clang/include/clang/Basic:diags_tablegen",
diff --git a/llvm/utils/gn/secondary/clang/lib/CodeGen/BUILD.gn b/llvm/utils/gn/secondary/clang/lib/CodeGen/BUILD.gn
index cfb9c993d57c8..bdd742620e708 100644
--- a/llvm/utils/gn/secondary/clang/lib/CodeGen/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang/lib/CodeGen/BUILD.gn
@@ -4,6 +4,7 @@ static_library("CodeGen") {
deps = [
"//clang/include/clang/Basic:arm_cde_builtin_cg",
"//clang/include/clang/Basic:arm_mve_builtin_cg",
+ "//clang/include/clang/Basic:arm_sme_builtin_cg",
"//clang/include/clang/Basic:arm_sve_builtin_cg",
"//clang/include/clang/Basic:riscv_sifive_vector_builtin_cg",
"//clang/include/clang/Basic:riscv_vector_builtin_cg",
diff --git a/llvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn b/llvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn
index a8a193876061f..bcfe472f4f351 100644
--- a/llvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn
@@ -65,6 +65,7 @@ copy("tablegen_headers") {
":arm_fp16",
":arm_mve",
":arm_neon",
+ ":arm_sme_draft_spec_subject_to_change",
":arm_sve",
":riscv_vector",
]
diff --git a/llvm/utils/gn/secondary/clang/lib/Sema/BUILD.gn b/llvm/utils/gn/secondary/clang/lib/Sema/BUILD.gn
index 24e25cfd32fcc..65cf305ab1e8b 100644
--- a/llvm/utils/gn/secondary/clang/lib/Sema/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang/lib/Sema/BUILD.gn
@@ -13,6 +13,7 @@ static_library("Sema") {
"//clang/include/clang/Basic:arm_cde_builtin_sema",
"//clang/include/clang/Basic:arm_mve_builtin_aliases",
"//clang/include/clang/Basic:arm_mve_builtin_sema",
+ "//clang/include/clang/Basic:arm_sme_sema_rangechecks",
"//clang/include/clang/Basic:arm_sve_sema_rangechecks",
"//clang/include/clang/Basic:riscv_sifive_vector_builtin_sema",
"//clang/include/clang/Basic:riscv_vector_builtin_sema",
More information about the llvm-commits
mailing list