[libclc] [libclc] Reduce bithacking in CLC frexp (PR #129871)

Romaric Jodin via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 18 06:11:05 PDT 2025


rjodinchr wrote:

This is failing with `fp32`. The failing value is very close to zero (it's a denormal), I think something is going wrong with `x == __CLC_FP_LIT(0.0)` when computing `is_inf_nan_or_zero`.
Maybe a bug inside Swiftshader with denormal comparison to zero?

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


More information about the cfe-commits mailing list