aboutsummaryrefslogtreecommitdiff
path: root/lldb/unittests/ScriptInterpreter/Python
diff options
context:
space:
mode:
authorpvellien <pvellien@amd.com>2022-01-18 09:27:40 +0100
committerNikita Popov <npopov@redhat.com>2022-01-18 09:30:54 +0100
commit4e1c2077262e0e7c708da8077874c2c022a86adc (patch)
treea9a1954247a294f8fc60e784eda7ca795b59239f /lldb/unittests/ScriptInterpreter/Python
parent9c195bae31c4eefc3e5360cefb4f601388a4f6d9 (diff)
downloadllvm-4e1c2077262e0e7c708da8077874c2c022a86adc.zip
llvm-4e1c2077262e0e7c708da8077874c2c022a86adc.tar.gz
llvm-4e1c2077262e0e7c708da8077874c2c022a86adc.tar.bz2
[SimplifyCFG] Fix assertion failure when reusing table switch comparison
After D116332, some icmps no longer fold with the target-independent constant folder. The SimplifyCFG code assumed that the comparison would always fold, which is not guaranteed. Explicitly check that the result is either true or false. Differential Revision: https://reviews.llvm.org/D117184
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions