teach sext optimization to handle truncs from types that are not
authorChris Lattner <sabre@nondot.org>
Sun, 10 Jan 2010 20:30:41 +0000 (20:30 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 10 Jan 2010 20:30:41 +0000 (20:30 +0000)
commit11ea81242473027c67395e9e94396f4e2a282dda
treec0cfca19ce99f6a0da2bf503dc96f5bab86d61ef
parent9ee947c224a157a5fb2c921a0e194fddedef2f9f
teach sext optimization to handle truncs from types that are not
the dest of the sext.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93128 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineCasts.cpp
test/Transforms/InstCombine/cast.ll