[llvm] 5540d81 - [gn build] Manually port ed2d497291f

Arthur Eubanks via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 13 09:28:56 PST 2023


Author: Arthur Eubanks
Date: 2023-12-13T09:28:46-08:00
New Revision: 5540d81bf3728cfb8cf2c25270b4a814e09d9143

URL: https://github.com/llvm/llvm-project/commit/5540d81bf3728cfb8cf2c25270b4a814e09d9143
DIFF: https://github.com/llvm/llvm-project/commit/5540d81bf3728cfb8cf2c25270b4a814e09d9143.diff

LOG: [gn build] Manually port ed2d497291f

Added: 
    

Modified: 
    llvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn

Removed: 
    


################################################################################
diff  --git a/llvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn b/llvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn
index 6dcf0fc08a34d6..3debc48a4bb99a 100644
--- a/llvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn
@@ -50,6 +50,13 @@ clang_tablegen("arm_cde") {
   output_name = "arm_cde.h"
 }
 
+# Generate arm__vector_types.h
+clang_tablegen("arm_vector_types") {
+  args = [ "-gen-arm-vector-type" ]
+  td_file = "//clang/include/clang/Basic/arm_neon.td"
+  output_name = "arm_vector_types.h"
+}
+
 # Generate riscv_vector.h
 clang_tablegen("riscv_vector") {
   args = [ "-gen-riscv-vector-header" ]
@@ -67,6 +74,7 @@ copy("tablegen_headers") {
     ":arm_neon",
     ":arm_sme_draft_spec_subject_to_change",
     ":arm_sve",
+    ":arm_vector_types",
     ":riscv_vector",
   ]
   sources = []


        


More information about the llvm-commits mailing list