diff options
author | Noah Goldstein <goldstein.w.n@gmail.com> | 2024-03-20 16:46:24 -0500 |
---|---|---|
committer | Noah Goldstein <goldstein.w.n@gmail.com> | 2024-04-09 18:12:33 -0500 |
commit | 9170e3857521324c096240bf38877e0ffe1a402e (patch) | |
tree | 1b79ab3b1f7ba0dc15312ef111fff6601f0b928f /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 788be0d9fc6aeca548c90bac5ebe6990dd3c66ec (diff) | |
download | llvm-9170e3857521324c096240bf38877e0ffe1a402e.zip llvm-9170e3857521324c096240bf38877e0ffe1a402e.tar.gz llvm-9170e3857521324c096240bf38877e0ffe1a402e.tar.bz2 |
Add support for `nneg` flag with `uitofp`
As noted when #82404 was pushed (canonicalizing `sitofp` -> `uitofp`),
different signedness on fp casts can have dramatic performance
implications on different backends.
So, it makes to create a reliable means for the backend to pick its
cast signedness if either are correct.
Further, this allows us to start canonicalizing `sitofp`- > `uitofp`
which may easy middle end analysis.
Closes #86141
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions