Skip to content
Commit 794e29f9 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://rise4fun.com/Alive/cplX

llvm-svn: 334346
parent 5aa26980
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment