[llvm] d09a46c - [gn build] (manually) port 5087ace6519

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 15 13:06:46 PDT 2020


Author: Nico Weber
Date: 2020-03-15T16:06:37-04:00
New Revision: d09a46cdbc8b5a5a9cca02840e8b3e700cf2051c

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

LOG: [gn build] (manually) port 5087ace6519

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 e46a29227d19..a6c5be0a490e 100644
--- a/llvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn
@@ -15,6 +15,13 @@ clang_tablegen("arm_fp16") {
   output_name = "arm_fp16.h"
 }
 
+# Generate arm_sve.h
+clang_tablegen("arm_sve") {
+  args = [ "-gen-arm-sve-header" ]
+  td_file = "//clang/include/clang/Basic/arm_sve.td"
+  output_name = "arm_sve.h"
+}
+
 # Generate arm_mve.h
 clang_tablegen("arm_mve") {
   args = [ "-gen-arm-mve-header" ]
@@ -36,6 +43,7 @@ copy("arm_headers") {
     ":arm_fp16",
     ":arm_mve",
     ":arm_neon",
+    ":arm_sve",
   ]
   sources = get_target_outputs(":arm_neon") + get_target_outputs(":arm_fp16") +
             get_target_outputs(":arm_mve")  + get_target_outputs(":arm_cde")


        


More information about the llvm-commits mailing list