[libclc] [libclc] Avoid intermediate NaN for large inputs in fp32 erfc (PR #233787)
Wenju He via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 21 17:45:56 PDT 2026
wenju-he wrote:
The old code is passing on intel gpu and probably also on amd gpu as the code is ported from amdgpu repo.
> On some target where vector select(cond, ret, 0.0f) is lowered to ret * (cond ? 1.0f : 0.0f)
Could it be a backend lowering bug?
https://github.com/llvm/llvm-project/pull/233787
More information about the cfe-commits
mailing list