commit | f938155483d893f279fd37e4ce2509b325905b5d | [log] [tgz] |
---|---|---|
author | Roman Lebedev <lebedev.ri@gmail.com> | Sat Jul 14 20:08:16 2018 +0000 |
committer | Roman Lebedev <lebedev.ri@gmail.com> | Sat Jul 14 20:08:16 2018 +0000 |
tree | 40f533fc06d9a67be0b997276997ff6cd11e98ee | |
parent | 39ce2d4bc8b7ef6cf10e8693330900ddfbc07a76 [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@337105 91177308-0d34-0410-b5e6-96231b3b80d8