summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite
diff options
context:
space:
mode:
authorHuihui Zhang <huihuiz@quicinc.com>2019-06-25 20:44:52 +0000
committerHuihui Zhang <huihuiz@quicinc.com>2019-06-25 20:44:52 +0000
commitb90cb57b63aec4a234d1a138e31af4e0b603ccff (patch)
treea83b2dbd95e567f6bea556e4be5d5a21d79172f0 /lldb/packages/Python/lldbsuite
parentdcd7eb710bc4b782c298ee30ee0143d788e72c97 (diff)
downloadbcm5719-llvm-b90cb57b63aec4a234d1a138e31af4e0b603ccff.tar.gz
bcm5719-llvm-b90cb57b63aec4a234d1a138e31af4e0b603ccff.zip
[InstCombine] Simplify icmp ult/uge (shl %x, C2), C1 iff C1 is power of two -> icmp eq/ne (and %x, (lshr -C1, C2)), 0.
Simplify 'shl' inequality test into 'and' equality test. This pattern happens in the middle-end while simplifying bitfield access, Exposed in https://reviews.llvm.org/D63505 https://rise4fun.com/Alive/6uz Reviewers: lebedev.ri, efriedma Reviewed By: lebedev.ri Subscribers: spatel, hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D63675 llvm-svn: 364348
Diffstat (limited to 'lldb/packages/Python/lldbsuite')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud