make truncate/sext elimination capable of changing phi's. This
authorChris Lattner <sabre@nondot.org>
Wed, 18 Jun 2008 04:00:49 +0000 (04:00 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 18 Jun 2008 04:00:49 +0000 (04:00 +0000)
commit8114b718c930b3468ffa4b36dc218a2f7ecf177b
tree5fa23cda7a9fc5a7b5c5aa8de0db1efef2075866
parentfab8387384c6866730147a78347705987b57a14b
make truncate/sext elimination capable of changing phi's.  This
implements rdar://6013816 and the testcase in Transforms/InstCombine/sext-misc.ll.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52440 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp
test/Transforms/InstCombine/sext-misc.ll