commit | 56ad5a26da76ac899e562b90450d6b8328a127e7 | [log] [tgz] |
---|---|---|
author | Roman Lebedev <lebedev.ri@gmail.com> | Sat Jul 14 20:08:31 2018 +0000 |
committer | Roman Lebedev <lebedev.ri@gmail.com> | Sat Jul 14 20:08:31 2018 +0000 |
tree | 963fb489ca09c8c9320484cda650a292d74ef8dc | |
parent | 0e039b76e09f3a92da5a8a48a54c3bbc274f7af2 [diff] |
[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! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@337108 91177308-0d34-0410-b5e6-96231b3b80d8