commit | ec6933aa84030d3dad6915dee2b087ab854c586e | [log] [tgz] |
---|---|---|
author | Roman Lebedev <lebedev.ri@gmail.com> | Sat Jul 14 20:08:42 2018 +0000 |
committer | Roman Lebedev <lebedev.ri@gmail.com> | Sat Jul 14 20:08:42 2018 +0000 |
tree | 8cb466885c56e2fac8c85e29b368da0e375b01ce | |
parent | 0d94eaa92c6d44d92d3d175acaccb659054f0e9a [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@337110 91177308-0d34-0410-b5e6-96231b3b80d8