commit | 0e039b76e09f3a92da5a8a48a54c3bbc274f7af2 | [log] [tgz] |
---|---|---|
author | Roman Lebedev <lebedev.ri@gmail.com> | Sat Jul 14 20:08:26 2018 +0000 |
committer | Roman Lebedev <lebedev.ri@gmail.com> | Sat Jul 14 20:08:26 2018 +0000 |
tree | 14aacb74ae14cab71ea0a6c2093c41c902b36af8 | |
parent | fe2b66265c0fbb9989c47b194b2438b7bfad11ef [diff] |
[InstCombine] Fold x s<= x & (-1 >> y) to x s<= (-1 >> y) 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@337107 91177308-0d34-0410-b5e6-96231b3b80d8