aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/Binary.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2022-05-02 12:48:02 -0400
committerSanjay Patel <spatel@rotateright.com>2022-05-02 14:57:27 -0400
commit747c6a0c734e618db8132b503f432d8274cc56b5 (patch)
treeae9ea7aa44d79f335eb3c6a240c372f27af702f4 /llvm/lib/Object/Binary.cpp
parent4070aa01561c6bf2a5954d68228f373386658cde (diff)
downloadllvm-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