Allow instcombine to combine "sext(a) >u const" to "a >u trunc(const)".
authorEli Friedman <eli.friedman@gmail.com>
Thu, 17 Dec 2009 22:42:29 +0000 (22:42 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Thu, 17 Dec 2009 22:42:29 +0000 (22:42 +0000)
commitb17cb06c354d0ba235ec5fac56b806f068ef25b4
tree36464a33ac596ab1360060f2562f46349536adb6
parentaad0d52c5bc088e6182f83becee29846bb00d592
Allow instcombine to combine "sext(a) >u const" to "a >u trunc(const)".

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91631 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp
test/Transforms/InstCombine/2004-11-27-SetCCForCastLargerAndConstant.ll
test/Transforms/InstCombine/2006-10-19-SignedToUnsignedCastAndConst.ll [deleted file]