[libc-commits] [libc] [libc][math][c23] Fix X86_Binary80 special cases for canonicalize functions. (PR #86924)

via libc-commits libc-commits at lists.llvm.org
Thu Mar 28 15:01:19 PDT 2024


lntue wrote:

I ran it with `-DLLVM_USE_SANITIZER=Undefined` and got:
```
[ RUN      ] LlvmLibcCanonicalizeTest.X64_80SpecialNumbers
/usr/local/google/home/lntue/experiment/llvm/llvm-project/libc/src/__support/integer_literals.h:102:7: runtime error: execution reached an unreachable program point
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /usr/local/google/home/lntue/experiment/llvm/llvm-project/libc/src/__support/integer_literals.h:102:7 in 
```
https://github.com/llvm/llvm-project/blob/main/libc/src/__support/integer_literals.h#L102


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


More information about the libc-commits mailing list