diff options
author | Philip Reames <listmail@philipreames.com> | 2019-10-11 03:48:56 +0000 |
---|---|---|
committer | Philip Reames <listmail@philipreames.com> | 2019-10-11 03:48:56 +0000 |
commit | 2d5820cd72255e04aaef2da3c21d62396fdd7fb9 (patch) | |
tree | d28b630a05471c23f29d01fd2a64a093a74a800a /lldb/packages/Python/lldbsuite/test/commands/expression/inline-namespace/TestInlineNamespace.py | |
parent | 32097c269660a0b78aa5966b8279b248dda60993 (diff) | |
download | bcm5719-llvm-2d5820cd72255e04aaef2da3c21d62396fdd7fb9.tar.gz bcm5719-llvm-2d5820cd72255e04aaef2da3c21d62396fdd7fb9.zip |
[CVP] Remove a masking operation if range information implies it's a noop
This is really a known bits style transformation, but known bits isn't context sensitive. The particular case which comes up happens to involve a range which allows range based reasoning to eliminate the mask pattern, so handle that case specifically in CVP.
InstCombine likes to generate the mask-by-low-bits pattern when widening an arithmetic expression which includes a zext in the middle.
Differential Revision: https://reviews.llvm.org/D68811
llvm-svn: 374506
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/commands/expression/inline-namespace/TestInlineNamespace.py')
0 files changed, 0 insertions, 0 deletions