diff options
author | Roman Lebedev <lebedev.ri@gmail.com> | 2018-06-09 09:27:39 +0000 |
---|---|---|
committer | Roman Lebedev <lebedev.ri@gmail.com> | 2018-06-09 09:27:39 +0000 |
commit | 794e29f964c41504e2a06c9f09984a7278b16c91 (patch) | |
tree | bd004fd572c3fa9a7c73f33993cd52b347a9d246 /llvm/lib/Support/Program.cpp | |
parent | 5aa26980c4b764e79cfb3cbc62264e9f62f5eacd (diff) | |
download | llvm-794e29f964c41504e2a06c9f09984a7278b16c91.zip llvm-794e29f964c41504e2a06c9f09984a7278b16c91.tar.gz llvm-794e29f964c41504e2a06c9f09984a7278b16c91.tar.bz2 |
[NFC][InstCombine] Tests for (x << y) >> y -> x & (-1 >> y) fold.
We already do it for splat constants, but not just values.
Also, undef cases are mostly non-functional.
https://bugs.llvm.org/show_bug.cgi?id=37603
https://rise4fun.com/Alive/cplX
llvm-svn: 334346
Diffstat (limited to 'llvm/lib/Support/Program.cpp')
0 files changed, 0 insertions, 0 deletions