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

[NFC][InstCombine] Add tests for (X - Y) < X --> Y <= X iff Y != 0

https://rise4fun.com/Alive/KtL
This should go to InstCombiner::foldICmpBinO(), next to
"Convert sub-with-unsigned-overflow comparisons into a comparison of args."

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