[llvm] [llvm] Improve TLI for Darwin libsystem_m functions (PR #109479)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 25 06:16:06 PDT 2024
================
@@ -408,35 +408,42 @@ class TargetLibraryInfo {
switch (F) {
default: break;
// clang-format off
- case LibFunc_copysign: case LibFunc_copysignf: case LibFunc_copysignl:
- case LibFunc_fabs: case LibFunc_fabsf: case LibFunc_fabsl:
- case LibFunc_sin: case LibFunc_sinf: case LibFunc_sinl:
- case LibFunc_cos: case LibFunc_cosf: case LibFunc_cosl:
- case LibFunc_tan: case LibFunc_tanf: case LibFunc_tanl:
- case LibFunc_asin: case LibFunc_asinf: case LibFunc_asinl:
case LibFunc_acos: case LibFunc_acosf: case LibFunc_acosl:
+ case LibFunc_acosh: case LibFunc_acoshf: case LibFunc_acoshl:
----------------
fhahn wrote:
would it be possible to avoid the re-formatting? This makes it very difficult to see what gets added (and it looks like clang-format is disabled for this section intentionally)
https://github.com/llvm/llvm-project/pull/109479
More information about the llvm-commits
mailing list