diff options
author | Florian Hahn <flo@fhahn.com> | 2023-07-11 20:18:55 +0100 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2023-07-11 20:18:55 +0100 |
commit | d7e79bd7d4fe326625e06d7ed251092a19e80c42 (patch) | |
tree | 179b4521082ad504743273c313239ee5c0839e60 /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | |
parent | 8480fed422a459c983ca8a4e6076229dc5ba8979 (diff) | |
download | llvm-d7e79bd7d4fe326625e06d7ed251092a19e80c42.zip llvm-d7e79bd7d4fe326625e06d7ed251092a19e80c42.tar.gz llvm-d7e79bd7d4fe326625e06d7ed251092a19e80c42.tar.bz2 |
[LV] Check if ops can safely be truncated in computeMinimumValueSizes.
Update computeMinimumValueSizes to check if an instruction's operands
can safely be truncated.
If more than MinBW bits are demanded by for the operand or if the
operand is a constant and cannot be safely truncated, it is not safe to
evaluate the instruction in the narrower MinBW. Skip those cases.
Fixes https://github.com/llvm/llvm-project/issues/47927
Reviewed By: nikic
Differential Revision: https://reviews.llvm.org/D154717
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
0 files changed, 0 insertions, 0 deletions