diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-03-12 16:57:25 +0000 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-03-12 16:57:25 +0000 |
commit | 149bc099f61a81a37751622c1b6d405fddb46204 (patch) | |
tree | 8c94296f40770a4ac8bb7aa156f4326c661e23e2 /lldb/packages/Python/lldbsuite/test/python_api/interpreter/TestCommandInterpreterAPI.py | |
parent | 13ecae2f9a56dbf68a4ae9d302d4d53af1703e2b (diff) | |
download | bcm5719-llvm-149bc099f61a81a37751622c1b6d405fddb46204.tar.gz bcm5719-llvm-149bc099f61a81a37751622c1b6d405fddb46204.zip |
[SDAG] Expand pow2 mulo using shifts
Expand MULO with constant power of two operand into a shift. The
overflow is checked with (x << shift) >> shift == x, where the right
shift will be logical for umulo and arithmetic for smulo (with
exception for multiplications by signed_min).
Differential Revision: https://reviews.llvm.org/D59041
llvm-svn: 355937
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/interpreter/TestCommandInterpreterAPI.py')
0 files changed, 0 insertions, 0 deletions