[compiler-rt] [builtins] Fix divtc3.c etc. compilation on Solaris/SPARC with gcc (PR #101662)
Alexander Richardson via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 15 10:45:13 PDT 2024
arichardson wrote:
If you can just call the `long double` libc versions, then it does sound like using
`#if defined(CRT_HAS_TF_MODE) || defined(CRT_LDBL_128BIT)` as the guard would work.
This would be equivalent to `#if defined(CRT_HAS_F128) && (defined(CRT_HAS_128BIT) || defined(CRT_LDBL_128BIT))` but is IMO easier to understand.
https://github.com/llvm/llvm-project/pull/101662
More information about the llvm-commits
mailing list