diff options
author | Roman Lebedev <lebedev.ri@gmail.com> | 2019-10-13 17:11:16 +0000 |
---|---|---|
committer | Roman Lebedev <lebedev.ri@gmail.com> | 2019-10-13 17:11:16 +0000 |
commit | 8e2561974d98a338bad0a75f981a9b02b672cb5e (patch) | |
tree | b3b52693309dc487c06517a50f359a837093ea2c /lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp | |
parent | 3efafd6c38a4da25b9bbd9a7b09648249a502ebe (diff) | |
download | bcm5719-llvm-8e2561974d98a338bad0a75f981a9b02b672cb5e.tar.gz bcm5719-llvm-8e2561974d98a338bad0a75f981a9b02b672cb5e.zip |
[NFC][InstCombine] More test for "sign bit test via shifts" pattern (PR43595)
While that pattern is indirectly handled via
reassociateShiftAmtsOfTwoSameDirectionShifts(),
that incursme one-use restriction on truncation,
which is pointless since we know that we'll produce a single instruction.
Additionally, *if* we are only looking for sign bit,
we don't need shifts to be identical,
which isn't the case in general,
and is the blocker for me in bug in question:
https://bugs.llvm.org/show_bug.cgi?id=43595
llvm-svn: 374726
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp')
0 files changed, 0 insertions, 0 deletions