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

[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!

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