summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/commands/expression/inline-namespace/main.cpp
diff options
context:
space:
mode:
authorRoman Lebedev <lebedev.ri@gmail.com>2019-09-17 19:32:11 +0000
committerRoman Lebedev <lebedev.ri@gmail.com>2019-09-17 19:32:11 +0000
commitbed6e08e23b36dc5ac38d675c2a705c2f41a4a94 (patch)
treec114a6161b0319809e4fc281d73efae0314be1a0 /lldb/packages/Python/lldbsuite/test/commands/expression/inline-namespace/main.cpp
parent6476d7cf0b2bc509e88a00c541f475b7676c4141 (diff)
downloadbcm5719-llvm-bed6e08e23b36dc5ac38d675c2a705c2f41a4a94.tar.gz
bcm5719-llvm-bed6e08e23b36dc5ac38d675c2a705c2f41a4a94.zip
[NFC][InstCombine] More tests for "Dropping pointless masking before left shift" (PR42563)
While we already fold that pattern if the sum of shift amounts is not smaller than bitwidth, there's painfully obvious generalization: https://rise4fun.com/Alive/F5R I.e. the "sub of shift amounts" tells us how many bits will be left in the output. If it's less than bitwidth, we simply need to apply a mask, which is constant. llvm-svn: 372170
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/commands/expression/inline-namespace/main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud