[llvm] 65e6349 - [gn] port fa43608d1649 (riscv_sifive_vector.td)
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Tue May 2 16:06:48 PDT 2023
Author: Nico Weber
Date: 2023-05-02T19:06:34-04:00
New Revision: 65e63497f9d28c5d0cb8ec9f6ab9fcee81bbc51d
URL: https://github.com/llvm/llvm-project/commit/65e63497f9d28c5d0cb8ec9f6ab9fcee81bbc51d
DIFF: https://github.com/llvm/llvm-project/commit/65e63497f9d28c5d0cb8ec9f6ab9fcee81bbc51d.diff
LOG: [gn] port fa43608d1649 (riscv_sifive_vector.td)
Added:
Modified:
llvm/utils/gn/secondary/clang/include/clang/Basic/BUILD.gn
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/include/clang/Basic/BUILD.gn b/llvm/utils/gn/secondary/clang/include/clang/Basic/BUILD.gn
index f94cdd0264a66..40b7ba3780c97 100644
--- a/llvm/utils/gn/secondary/clang/include/clang/Basic/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang/include/clang/Basic/BUILD.gn
@@ -163,3 +163,18 @@ clang_tablegen("riscv_vector_builtin_sema") {
args = [ "-gen-riscv-vector-builtin-sema" ]
td_file = "riscv_vector.td"
}
+
+clang_tablegen("riscv_sifive_vector_builtins") {
+ args = [ "-gen-riscv-sifive-vector-builtins" ]
+ td_file = "riscv_sifive_vector.td"
+}
+
+clang_tablegen("riscv_sifive_vector_builtin_cg") {
+ args = [ "-gen-riscv-sifive-vector-builtin-codegen" ]
+ td_file = "riscv_sifive_vector.td"
+}
+
+clang_tablegen("riscv_sifive_vector_builtin_sema") {
+ args = [ "-gen-riscv-sifive-vector-builtin-sema" ]
+ td_file = "riscv_sifive_vector.td"
+}
diff --git a/llvm/utils/gn/secondary/clang/lib/Basic/BUILD.gn b/llvm/utils/gn/secondary/clang/lib/Basic/BUILD.gn
index 639276f48c84b..1f7957e4cb490 100644
--- a/llvm/utils/gn/secondary/clang/lib/Basic/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang/lib/Basic/BUILD.gn
@@ -29,6 +29,7 @@ static_library("Basic") {
"//clang/include/clang/Basic:arm_sve_builtins",
"//clang/include/clang/Basic:arm_sve_typeflags",
"//clang/include/clang/Basic:diags_tablegen",
+ "//clang/include/clang/Basic:riscv_sifive_vector_builtins",
"//clang/include/clang/Basic:riscv_vector_builtins",
"//clang/include/clang/Basic:version",
diff --git a/llvm/utils/gn/secondary/clang/lib/CodeGen/BUILD.gn b/llvm/utils/gn/secondary/clang/lib/CodeGen/BUILD.gn
index 35041fed8e5e3..2d64826ee33ce 100644
--- a/llvm/utils/gn/secondary/clang/lib/CodeGen/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang/lib/CodeGen/BUILD.gn
@@ -5,6 +5,7 @@ static_library("CodeGen") {
"//clang/include/clang/Basic:arm_cde_builtin_cg",
"//clang/include/clang/Basic:arm_mve_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",
"//clang/lib/AST",
"//clang/lib/Analysis",
diff --git a/llvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn b/llvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn
index c1bb5273ca1c0..478749220f25c 100644
--- a/llvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn
@@ -220,6 +220,7 @@ copy("Headers") {
"riscv_ntlh.h",
"rtmintrin.h",
"s390intrin.h",
+ "sifive_vector.h",
"serializeintrin.h",
"sgxintrin.h",
"shaintrin.h",
diff --git a/llvm/utils/gn/secondary/clang/lib/Sema/BUILD.gn b/llvm/utils/gn/secondary/clang/lib/Sema/BUILD.gn
index 6bfac4537518d..24e25cfd32fcc 100644
--- a/llvm/utils/gn/secondary/clang/lib/Sema/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang/lib/Sema/BUILD.gn
@@ -14,6 +14,7 @@ static_library("Sema") {
"//clang/include/clang/Basic:arm_mve_builtin_aliases",
"//clang/include/clang/Basic:arm_mve_builtin_sema",
"//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",
"//clang/include/clang/Sema:AttrParsedAttrImpl",
"//clang/include/clang/Sema:AttrParsedAttrKinds",
More information about the llvm-commits
mailing list