Backports LLVM commit: [APFloat] convert SNaN to QNaN in convert() and raise Invalid signal 149f5b573c SNaN to QNaN conversion also matches what my Intel x86_64 hardware does.
149f5b573c
Backports LLVM commit: e34bd1e0b0 Fixes #69532
e34bd1e0b0