[llvm] clarify NaN propagation in fptrunc (PR #68554)

Nuno Lopes via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 9 01:42:06 PDT 2023


nunoplopes wrote:

> But LLVM might optimize away cast roundtrips and then a signaling NaN might be returned and then we have to exclude the special case where the sNaN has all-0 payloads.

Doesn't seem like: https://gcc.godbolt.org/z/z1sqhjnE8

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


More information about the llvm-commits mailing list