[compiler-rt] [builtins] Fix divtc3.c etc. compilation on Solaris/SPARC with gcc (PR #101662)

Zibi Sarbinowski via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 15 11:05:14 PDT 2024


zibi2 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.

We are fine with either one.

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


More information about the llvm-commits mailing list