diff options
author | Sanjay Patel <spatel@rotateright.com> | 2022-05-02 12:48:02 -0400 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2022-05-02 14:57:27 -0400 |
commit | 747c6a0c734e618db8132b503f432d8274cc56b5 (patch) | |
tree | ae9ea7aa44d79f335eb3c6a240c372f27af702f4 /llvm/lib/Object/Binary.cpp | |
parent | 4070aa01561c6bf2a5954d68228f373386658cde (diff) | |
download | llvm-747c6a0c734e618db8132b503f432d8274cc56b5.zip llvm-747c6a0c734e618db8132b503f432d8274cc56b5.tar.gz llvm-747c6a0c734e618db8132b503f432d8274cc56b5.tar.bz2 |
[SDAG] fix miscompile when casting int->FP->int
This is the codegen equivalent of D124692.
As shown in https://github.com/llvm/llvm-project/issues/55150 -
the existing fold may be wrong when converting to a signed value.
This is a quick fix to avoid the miscompile.
https://alive2.llvm.org/ce/z/KtaDmd
Differential Revision: https://reviews.llvm.org/D124771
Diffstat (limited to 'llvm/lib/Object/Binary.cpp')
0 files changed, 0 insertions, 0 deletions