diff options
author | Roman Lebedev <lebedev.ri@gmail.com> | 2019-07-19 11:29:04 +0000 |
---|---|---|
committer | Roman Lebedev <lebedev.ri@gmail.com> | 2019-07-19 11:29:04 +0000 |
commit | 882bf2a844c62275901a74f1148a26376d31c14c (patch) | |
tree | 276fe278d211e8e8d84406e9197315c1e3672787 /lldb/packages/Python/lldbsuite/test/python_api/thread | |
parent | 2e435ef3edd4e331edac9f695321f1bac685f3eb (diff) | |
download | bcm5719-llvm-882bf2a844c62275901a74f1148a26376d31c14c.tar.gz bcm5719-llvm-882bf2a844c62275901a74f1148a26376d31c14c.zip |
[NFC][InstCombine] Redundant masking before left-shift: tests with assume
If the legality check is `(shiftNbits-maskNbits) s>= 0`,
then we can simplify it to `shiftNbits u>= maskNbits`,
which is easier to check for.
However, currently switching the `dropRedundantMaskingOfLeftShiftInput()`
to `SimplifyICmpInst()` does not catch these cases and regresses
currently-handled cases, so i'll leave it as is for now.
https://rise4fun.com/Alive/25P
llvm-svn: 366564
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread')
0 files changed, 0 insertions, 0 deletions