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

[NFC][InstCombine] Tests for x & (-1 >> y) == x -> x u<= (-1 >> y) fold

https://bugs.llvm.org/show_bug.cgi?id=38123

This pattern will be produced by Implicit Integer Truncation sanitizer,
https://reviews.llvm.org/D48958
https://bugs.llvm.org/show_bug.cgi?id=21530
in unsigned case, therefore it is probably a good idea to improve it.

https://rise4fun.com/Alive/Rny

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