From: Anatoly Trosinenko Date: Thu, 25 Jun 2020 19:32:41 +0000 (+0300) Subject: [builtins] Move more float128-related helpers to GENERIC_TF_SOURCES list X-Git-Tag: llvmorg-12-init~1898 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a931ec7ca0ee45d72f398a89ce015ce0eaaac819;p=platform%2Fupstream%2Fllvm.git [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 --- diff --git a/compiler-rt/lib/builtins/CMakeLists.txt b/compiler-rt/lib/builtins/CMakeLists.txt index f8431bd..aa0df8d 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 )