summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorThomas Preud'homme <thomasp@graphcore.ai>2019-10-03 17:00:37 +0100
committerThomas Preud'homme <thomasp@graphcore.ai>2019-11-05 11:07:52 +0000
commit646896a442249380f74ff404e6dd26687f3dc6d9 (patch)
treef6414e71b6d4c6448640538e49bfe2ba7f0cae70 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parentcf581d7977c5c80e9f6cb6e304d7eb3d0792f360 (diff)
downloadbcm5719-llvm-646896a442249380f74ff404e6dd26687f3dc6d9.tar.gz
bcm5719-llvm-646896a442249380f74ff404e6dd26687f3dc6d9.zip
Fix PR40644: miscompile indexed FP constant store
Summary: Functions replaceStoreOfFPConstant() and OptimizeFloatStore() both replace store of float by a store of an integer unconditionally. However this generates wrong code when the store that is replaced is an indexed or truncating store. This commit solves this issue by adding an early return in these functions when the store being considered is not a normal store. Bug was only observed on out of tree targets, hence the lack of testcase in this commit. Reviewers: efriedma Subscribers: hiraditya, arphaman, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D68420
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud