[llvm] a431268 - [gn build] (semi-manually) port b136a74efc54

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 15 09:51:21 PDT 2021


Author: Nico Weber
Date: 2021-03-15T12:51:12-04:00
New Revision: a4312686683a57d39484c34321fef54014eda448

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

LOG: [gn build] (semi-manually) port b136a74efc54

Added: 
    

Modified: 
    llvm/utils/gn/secondary/compiler-rt/lib/builtins/BUILD.gn

Removed: 
    


################################################################################
diff  --git a/llvm/utils/gn/secondary/compiler-rt/lib/builtins/BUILD.gn b/llvm/utils/gn/secondary/compiler-rt/lib/builtins/BUILD.gn
index 6e799b91eeaf6..ef1251b81c1b9 100644
--- a/llvm/utils/gn/secondary/compiler-rt/lib/builtins/BUILD.gn
+++ b/llvm/utils/gn/secondary/compiler-rt/lib/builtins/BUILD.gn
@@ -486,6 +486,12 @@ static_library("builtins") {
     ]
   }
 
+  if (current_cpu == "riscv" || current_cpu == "riscv64") {
+    sources += [
+      "riscv/restore.S",
+      "riscv/save.S",
+    ]
+  }
   if (current_cpu == "riscv") {
     sources += [ "riscv/mulsi3.S" ]
   }


        


More information about the llvm-commits mailing list