diff options
author | Craig Topper <craig.topper@sifive.com> | 2020-11-07 22:44:53 -0800 |
---|---|---|
committer | Craig Topper <craig.topper@sifive.com> | 2020-11-07 23:50:03 -0800 |
commit | f40925aa8b3d200b4616eb0b8a772a1812800b21 (patch) | |
tree | 923a3f2005c591210fc1620946cb264befd08f8e /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 19313ed580af4d851c12c4b7c244795df9967e2f (diff) | |
download | llvm-f40925aa8b3d200b4616eb0b8a772a1812800b21.zip llvm-f40925aa8b3d200b4616eb0b8a772a1812800b21.tar.gz llvm-f40925aa8b3d200b4616eb0b8a772a1812800b21.tar.bz2 |
[X86] Improve lowering of fptoui
Invert the select condition when masking in the sign bit of a fptoui operation. Also, rather than lowering the sign mask to select/xor and expecting the select to get cleaned up later, directly lower to shift/xor.
Patch by Layton Kifer!
Reviewed By: craig.topper
Differential Revision: https://reviews.llvm.org/D90658
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions