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