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