diff options
author | Daniel Bertalan <dani@danielbertalan.dev> | 2022-07-07 17:31:59 +0200 |
---|---|---|
committer | Daniel Bertalan <dani@danielbertalan.dev> | 2022-07-07 19:13:55 +0200 |
commit | ef7aed3e112b47641ca2704187d3701765a831ce (patch) | |
tree | e1014ae201c31a1c19fe7c03b0e5d96d580a0fe4 /lldb/packages/Python/lldbsuite/test/lldbgdbclient.py | |
parent | 6656029a4914e4d8ae5ec948e9d4ba173e9f3e86 (diff) | |
download | llvm-ef7aed3e112b47641ca2704187d3701765a831ce.zip llvm-ef7aed3e112b47641ca2704187d3701765a831ce.tar.gz llvm-ef7aed3e112b47641ca2704187d3701765a831ce.tar.bz2 |
[InstCombine] Do not fold 'and (sext (ashr X, Shift)), C' if Shift < 0
The 'and (sext (ashr X, ShiftC)), C' --> 'lshr (sext X), ShiftC'
transformation would access out of bounds bits in APInt::getLowBitsSet
if the shift count was larger than X's bit width or if it was negative.
Fixes #56424
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lldbgdbclient.py')
0 files changed, 0 insertions, 0 deletions