summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/functionalities/step-avoids-no-debug/TestStepNoDebug.py
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2019-10-15 13:12:44 +0000
committerSanjay Patel <spatel@rotateright.com>2019-10-15 13:12:44 +0000
commit455ce7816ce4510ce1807e7ab5946e48c205c527 (patch)
treefd3e65e5d0b8a48ca5bd44746f81bcd79e3ec0de /lldb/packages/Python/lldbsuite/test/functionalities/step-avoids-no-debug/TestStepNoDebug.py
parent9c9bd1657cbd3504ff719c14ece79ef2af0e0ea2 (diff)
downloadbcm5719-llvm-455ce7816ce4510ce1807e7ab5946e48c205c527.tar.gz
bcm5719-llvm-455ce7816ce4510ce1807e7ab5946e48c205c527.zip
[InstCombine] fold a shifted bool zext to a select (2nd try)
The 1st attempt at rL374828 inserted the code at the wrong position (outside of the constant-shift-amount block). Trying again with an additional test to verify const-ness. For a constant shift amount, add the following fold. shl (zext (i1 X)), ShAmt --> select (X, 1 << ShAmt, 0) https://rise4fun.com/Alive/IZ9 Fixes PR42257. Based on original patch by @zvi (Zvi Rackover) Differential Revision: https://reviews.llvm.org/D63382 llvm-svn: 374886
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/step-avoids-no-debug/TestStepNoDebug.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud