[PATCH] D134937: gn build: Move bfloat16 source files to x86-specific block.

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 29 22:02:45 PDT 2022


pcc created this revision.
pcc added reviewers: thakis, aeubanks.
Herald added subscribers: Enna1, pengfei.
Herald added a project: All.
pcc requested review of this revision.
Herald added a project: LLVM.

bfloat16 is currently only supported by default on x86.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D134937

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


Index: llvm/utils/gn/secondary/compiler-rt/lib/builtins/BUILD.gn
===================================================================
--- llvm/utils/gn/secondary/compiler-rt/lib/builtins/BUILD.gn
+++ llvm/utils/gn/secondary/compiler-rt/lib/builtins/BUILD.gn
@@ -193,10 +193,8 @@
     "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 @@
       "i386/fp_mode.c",
       "mulxc3.c",
       "powixf2.c",
+      "truncdfbf2.c",
+      "truncsfbf2.c",
     ]
   }
   if (current_cpu == "x86") {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134937.464138.patch
Type: text/x-patch
Size: 655 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220930/ee370a2c/attachment.bin>


More information about the llvm-commits mailing list