diff options
author | Florian Hahn <flo@fhahn.com> | 2024-12-06 16:28:47 +0000 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2024-12-06 16:28:49 +0000 |
commit | 4f7f71b7bccdc38f37b82981e8fa9ceb536a7016 (patch) | |
tree | e474078086cef4c2f0a9e4edbd0d8bdf366ea6c1 /lldb/test/Shell/ScriptInterpreter/Python | |
parent | 9ad22cf0ee9eb686ea9fd76fd9cc41f4c006ccbc (diff) | |
download | llvm-4f7f71b7bccdc38f37b82981e8fa9ceb536a7016.zip llvm-4f7f71b7bccdc38f37b82981e8fa9ceb536a7016.tar.gz llvm-4f7f71b7bccdc38f37b82981e8fa9ceb536a7016.tar.bz2 |
[VPlan] Compare APInt instead of getSExtValue to fix crash in unroll.
getSExtValue assumes the result fits in 64 bits, but this may not be the
case for indcutions with wider types. Instead, directly perform the
compare on the APInt for the ConstantInt.
Fixes https://github.com/llvm/llvm-project/issues/118850.
Diffstat (limited to 'lldb/test/Shell/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions