Skip to content
Commit 1e61e358 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: 337107
parent f1a351cf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment