Skip to content
Commit 8aada65f authored by Roman Lebedev's avatar Roman Lebedev
Browse files

[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
parent 794e29f9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment