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

[InstCombine] Fold x s> x & (-1 >> y) 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: 337105
parent 62d050d2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment