[compiler-rt] [compiler-rt][builtins]Fix complex division for aarch64 (PR #106664)
Eli Friedman via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 5 12:26:11 PDT 2024
================
@@ -20,7 +20,7 @@
COMPILER_RT_ABI Fcomplex __divsc3(float __a, float __b, float __c, float __d) {
int __ilogbw = 0;
float __logbw =
- __compiler_rt_logbf(__compiler_rt_fmaxf(crt_fabsf(__c), crt_fabsf(__d)));
+ __compiler_rt_logbf(__compiler_rt_fmaxX(crt_fabsf(__c), crt_fabsf(__d)));
----------------
efriedma-quic wrote:
See also https://reviews.llvm.org/D91841, which added the relevant code.
If you're going to delete the last use of __compiler_rt_fmaxf, please also delete the function itself.
https://github.com/llvm/llvm-project/pull/106664
More information about the llvm-commits
mailing list