[llvm] [llvm] Improve TLI for Darwin libsystem_m functions (PR #109479)

Jon Roelofs via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 25 08:23:00 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:
----------------
jroelofs wrote:

I'll split it into a NFC patch that sorts the table, followed by the additions, and then pre-land the NFC patch.

https://github.com/llvm/llvm-project/pull/109479


More information about the llvm-commits mailing list