[llvm] bae0d30 - gn build: Move bfloat16 source files to x86-specific block.

Peter Collingbourne via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 30 12:33:36 PDT 2022


Author: Peter Collingbourne
Date: 2022-09-30T12:33:23-07:00
New Revision: bae0d30491c5c8ef9322e7c3b624944a4427f7d2

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

LOG: gn build: Move bfloat16 source files to x86-specific block.

bfloat16 is currently only supported by default on x86.

Differential Revision: https://reviews.llvm.org/D134937

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 0ce20f26f3c71..dc211710667d9 100644
--- a/llvm/utils/gn/secondary/compiler-rt/lib/builtins/BUILD.gn
+++ b/llvm/utils/gn/secondary/compiler-rt/lib/builtins/BUILD.gn
@@ -193,10 +193,8 @@ static_library("builtins") {
     "subvsi3.c",
     "subvti3.c",
     "trampoline_setup.c",
-    "truncdfbf2.c",
     "truncdfhf2.c",
     "truncdfsf2.c",
-    "truncsfbf2.c",
     "truncsfhf2.c",
     "ucmpdi2.c",
     "ucmpti2.c",
@@ -282,6 +280,8 @@ static_library("builtins") {
       "i386/fp_mode.c",
       "mulxc3.c",
       "powixf2.c",
+      "truncdfbf2.c",
+      "truncsfbf2.c",
     ]
   }
   if (current_cpu == "x86") {


        


More information about the llvm-commits mailing list