diff options
author | beetrees <b@beetr.ee> | 2025-10-11 03:08:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-11 11:08:26 +0900 |
commit | 11571a005a38c91b0519772d9639e91a382cc1db (patch) | |
tree | a66ac94a8e650e93a3b832dcb93e93ab1d1f8d79 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | c18de24d9d67bc469f41d31362068257a9facedc (diff) | |
download | llvm-11571a005a38c91b0519772d9639e91a382cc1db.zip llvm-11571a005a38c91b0519772d9639e91a382cc1db.tar.gz llvm-11571a005a38c91b0519772d9639e91a382cc1db.tar.bz2 |
Fix legalizing `FNEG` and `FABS` with `TypeSoftPromoteHalf` (#156343)
Based on top of #157211.
`FNEG` and `FABS` must preserve signalling NaNs, meaning they should not
convert to f32 to perform the operation. Instead legalize to `XOR` and
`AND`.
Fixes almost all of #104915
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions