diff options
author | Roman Lebedev <lebedev.ri@gmail.com> | 2018-06-09 09:27:43 +0000 |
---|---|---|
committer | Roman Lebedev <lebedev.ri@gmail.com> | 2018-06-09 09:27:43 +0000 |
commit | 8aada65f8131abdc4b72ae33fd57fcb35f1fe5b3 (patch) | |
tree | 960866d84da105a64f96d83fbe18800f2d1d3146 /llvm/lib/Support/Program.cpp | |
parent | 794e29f964c41504e2a06c9f09984a7278b16c91 (diff) | |
download | llvm-8aada65f8131abdc4b72ae33fd57fcb35f1fe5b3.zip llvm-8aada65f8131abdc4b72ae33fd57fcb35f1fe5b3.tar.gz llvm-8aada65f8131abdc4b72ae33fd57fcb35f1fe5b3.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://reviews.llvm.org/D46760#1123713
https://rise4fun.com/Alive/cplX
llvm-svn: 334347
Diffstat (limited to 'llvm/lib/Support/Program.cpp')
0 files changed, 0 insertions, 0 deletions