[compiler-rt] a931ec7 - [builtins] Move more float128-related helpers to GENERIC_TF_SOURCES list
Anton Korobeynikov via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 25 12:33:09 PDT 2020
Author: Anatoly Trosinenko
Date: 2020-06-25T22:32:49+03:00
New Revision: a931ec7ca0ee45d72f398a89ce015ce0eaaac819
URL: https://github.com/llvm/llvm-project/commit/a931ec7ca0ee45d72f398a89ce015ce0eaaac819
DIFF: https://github.com/llvm/llvm-project/commit/a931ec7ca0ee45d72f398a89ce015ce0eaaac819.diff
LOG: [builtins] Move more float128-related helpers to GENERIC_TF_SOURCES list
There are two different _generic_ lists of source files in the compiler-rt/lib/builtins/CMakeLists.txt. Now there is no simple way to not use the tf-variants of helpers at all.
Since there exists a separate `GENERIC_TF_SOURCES` list, it seems quite natural to move all float128-related helpers there. If it is not possible for some reason, it would be useful to have an explanation of that reason somewhere near the `GENERIC_TF_SOURCES` definition.
Differential Revision: https://reviews.llvm.org/D81282
Added:
Modified:
compiler-rt/lib/builtins/CMakeLists.txt
Removed:
################################################################################
diff --git a/compiler-rt/lib/builtins/CMakeLists.txt b/compiler-rt/lib/builtins/CMakeLists.txt
index f8431bdcf059..aa0df8d5bfdf 100644
--- a/compiler-rt/lib/builtins/CMakeLists.txt
+++ b/compiler-rt/lib/builtins/CMakeLists.txt
@@ -46,7 +46,6 @@ set(GENERIC_SOURCES
absvti2.c
adddf3.c
addsf3.c
- addtf3.c
addvdi3.c
addvsi3.c
addvti3.c
@@ -75,9 +74,7 @@ set(GENERIC_SOURCES
divsc3.c
divsf3.c
divsi3.c
- divtc3.c
divti3.c
- divtf3.c
extendsfdf2.c
extendhfsf2.c
ffsdi2.c
@@ -123,7 +120,6 @@ set(GENERIC_SOURCES
mulsc3.c
mulsf3.c
multi3.c
- multf3.c
mulvdi3.c
mulvsi3.c
mulvti3.c
@@ -143,13 +139,11 @@ set(GENERIC_SOURCES
popcountti2.c
powidf2.c
powisf2.c
- powitf2.c
subdf3.c
subsf3.c
subvdi3.c
subvsi3.c
subvti3.c
- subtf3.c
trampoline_setup.c
truncdfhf2.c
truncdfsf2.c
@@ -168,7 +162,10 @@ set(GENERIC_SOURCES
)
set(GENERIC_TF_SOURCES
+ addtf3.c
comparetf2.c
+ divtc3.c
+ divtf3.c
extenddftf2.c
extendsftf2.c
fixtfdi.c
@@ -184,6 +181,9 @@ set(GENERIC_TF_SOURCES
floatunsitf.c
floatuntitf.c
multc3.c
+ multf3.c
+ powitf2.c
+ subtf3.c
trunctfdf2.c
trunctfsf2.c
)
More information about the llvm-commits
mailing list