[gn build] (manually) port 8b409eaba
authorNico Weber <thakis@chromium.org>
Mon, 16 Mar 2020 13:46:01 +0000 (09:46 -0400)
committerNico Weber <thakis@chromium.org>
Mon, 16 Mar 2020 13:47:06 +0000 (09:47 -0400)
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

index 1a96d60..06e8644 100644 (file)
@@ -119,6 +119,16 @@ clang_tablegen("arm_mve_builtin_aliases") {
   td_file = "arm_mve.td"
 }
 
+clang_tablegen("arm_sve_builtins") {
+  args = [ "-gen-arm-sve-builtins" ]
+  td_file = "arm_sve.td"
+}
+
+clang_tablegen("arm_sve_codegenmap") {
+  args = [ "-gen-arm-sve-codegenmap" ]
+  td_file = "arm_sve.td"
+}
+
 clang_tablegen("arm_cde_builtins") {
   args = [ "-gen-arm-cde-builtin-def" ]
   td_file = "arm_cde.td"
index c505a69..7267286 100644 (file)
@@ -26,6 +26,7 @@ static_library("Basic") {
     "//clang/include/clang/Basic:DiagnosticGroups",
     "//clang/include/clang/Basic:arm_cde_builtins",
     "//clang/include/clang/Basic:arm_mve_builtins",
+    "//clang/include/clang/Basic:arm_sve_builtins",
     "//clang/include/clang/Basic:diags_tablegen",
     "//clang/include/clang/Basic:version",
   ]
index f4e275b..c9097d5 100644 (file)
@@ -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_sve_codegenmap",
     "//clang/lib/AST",
     "//clang/lib/Analysis",
     "//clang/lib/Basic",