diff options
author | Roman Lebedev <lebedev.ri@gmail.com> | 2019-10-07 20:52:52 +0000 |
---|---|---|
committer | Roman Lebedev <lebedev.ri@gmail.com> | 2019-10-07 20:52:52 +0000 |
commit | c3b394ffba583a53e5c1cc45360f18a3e5c023fd (patch) | |
tree | 3f1334fe08b5b6e308ba40301e9ea381d298d3c6 /lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp | |
parent | 46d317fad4627c92a0289e886695a047ed886e27 (diff) | |
download | bcm5719-llvm-c3b394ffba583a53e5c1cc45360f18a3e5c023fd.tar.gz bcm5719-llvm-c3b394ffba583a53e5c1cc45360f18a3e5c023fd.zip |
[InstCombine] dropRedundantMaskingOfLeftShiftInput(): propagate undef shift amounts
Summary:
When we do `ConstantExpr::getZExt()`, that "extends" `undef` to `0`,
which means that for patterns a/b we'd assume that we must not produce
any bits for that channel, while in reality we simply didn't care
about that channel - i.e. we don't need to mask it.
Reviewers: spatel
Reviewed By: spatel
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68239
llvm-svn: 373960
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp')
0 files changed, 0 insertions, 0 deletions