summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test
diff options
context:
space:
mode:
authorRoman Lebedev <lebedev.ri@gmail.com>2019-10-04 22:16:22 +0000
committerRoman Lebedev <lebedev.ri@gmail.com>2019-10-04 22:16:22 +0000
commitfb5af8b9b93cb270fda7832e24cab9cb62dec16f (patch)
treea339bff1c5a427fddaf3ac2f873607087f7e61a6 /lldb/packages/Python/lldbsuite/test
parentf304d4d185d24eec9f0ca84d566da0d51b2344ef (diff)
downloadbcm5719-llvm-fb5af8b9b93cb270fda7832e24cab9cb62dec16f.tar.gz
bcm5719-llvm-fb5af8b9b93cb270fda7832e24cab9cb62dec16f.zip
[InstCombine] Fold 'icmp eq/ne (?trunc (lshr/ashr %x, bitwidth(x)-1)), 0' -> 'icmp sge/slt %x, 0'
We do indeed already get it right in some cases, but only transitively, with one-use restrictions. Since we only need to produce a single comparison, it makes sense to match the pattern directly: https://rise4fun.com/Alive/kPg llvm-svn: 373802
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud