diff options
author | Roman Lebedev <lebedev.ri@gmail.com> | 2018-07-14 20:08:31 +0000 |
---|---|---|
committer | Roman Lebedev <lebedev.ri@gmail.com> | 2018-07-14 20:08:31 +0000 |
commit | 53a014e61d0208a600b597b68f8baee2b497c61b (patch) | |
tree | 877c129669992b6dd718fdd71bd5c875cf88c26b /llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp | |
parent | 1e61e358a4ed048c3900c32dc84a2665c592cc4c (diff) | |
download | bcm5719-llvm-53a014e61d0208a600b597b68f8baee2b497c61b.tar.gz bcm5719-llvm-53a014e61d0208a600b597b68f8baee2b497c61b.zip |
[NFC][InstCombine] Tests for x & (-1 >> y) s>= x to x s<= (-1 >> y) fold.
https://bugs.llvm.org/show_bug.cgi?id=38123
https://rise4fun.com/Alive/I3O
This pattern is not commutative!
We must make sure not to fold the commuted version!
llvm-svn: 337108
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp')
0 files changed, 0 insertions, 0 deletions