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

Tex Riddell via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 28 16:46:34 PDT 2024


================
@@ -0,0 +1,43 @@
+; RUN: opt -vector-library=Darwin_libsystem_m -passes=inject-tli-mappings,loop-vectorize -S < %s | FileCheck %s
+
+target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128"
----------------
tex3d wrote:

The changes I pushed to my PR included adding atan2 cases to `hasOptimizedCodeGen` in `llvm/include/llvm/Analysis/TargetLibraryInfo.h`.  Should I revert that one change?  I'm currently testing without it to see if it has no measurable effect on my PR.

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


More information about the llvm-commits mailing list