diff options
author | Sanjay Patel <spatel@rotateright.com> | 2021-11-10 09:32:33 -0500 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2021-11-10 09:44:55 -0500 |
commit | 67299aa84f50876b7f5472b38ee2e0f00714788a (patch) | |
tree | 0582a01f98c47f01e38195abb7bb5d926ef63858 /lldb/unittests/ScriptInterpreter/Python | |
parent | be9e892e9ddc6c3b980d6081b36fd059398b43a2 (diff) | |
download | llvm-67299aa84f50876b7f5472b38ee2e0f00714788a.zip llvm-67299aa84f50876b7f5472b38ee2e0f00714788a.tar.gz llvm-67299aa84f50876b7f5472b38ee2e0f00714788a.tar.bz2 |
[InstCombine] add check for integer source type from cast to prevent crash
A problem was noted in the post-commit review for
c36b7e21bd8f04a44d6 / D113035 :
If the source type is not integer or integer vector,
then we could crash when trying to ComputeNumSignBits().
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions