[libc-commits] [PATCH] D127571: Initiating a RISC-V port of llvm-libc

Tue Ly via Phabricator via libc-commits libc-commits at lists.llvm.org
Sat Jun 11 15:37:23 PDT 2022


lntue added a comment.

In D127571#3575629 <https://reviews.llvm.org/D127571#3575629>, @oceanfish81 wrote:

> Another error:
>
>   Scanning dependencies of target libc.src.math.fma
>   [ 18%] Building CXX object libc/src/math/CMakeFiles/libc.src.math.fma.dir/fma.cpp.o
>   /home/advancedwebdeveloper/llvm-project-main/libc/src/math/fma.cpp:17:10: error: no matching function for call to 'fma'
>     return fputil::fma(x, y, z);
>            ^~~~~~~~~~~
>   /home/advancedwebdeveloper/llvm-project-main/libc/src/__support/FPUtil/FMA.h:33:66: note: candidate template ignored: substitution failure [with T = double]: implicit instantiation of undefined template '__llvm_libc::cpp::EnableIf<false, double>'
>   static inline cpp::EnableIfType<cpp::IsSame<T, float>::Value, T> fma(T x, T y,
>                                                                    ^
>   1 error generated.
>   make[2]: *** [libc/src/math/CMakeFiles/libc.src.math.fma.dir/build.make:82: libc/src/math/CMakeFiles/libc.src.math.fma.dir/fma.cpp.o] Error 1
>   make[1]: *** [CMakeFiles/Makefile2:8306: libc/src/math/CMakeFiles/libc.src.math.fma.dir/all] Error 2

Can you sync pass https://reviews.llvm.org/rGee8992770754d186c9217d35cccd339efc55a36b to see if this error still persists?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D127571/new/

https://reviews.llvm.org/D127571



More information about the libc-commits mailing list