reenable the piece that turns trunc(zext(x)) -> x even if zext has multiple uses,
authorChris Lattner <sabre@nondot.org>
Mon, 11 Jan 2010 22:49:40 +0000 (22:49 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 11 Jan 2010 22:49:40 +0000 (22:49 +0000)
commit53af2d13e763c2d6e8ea1baf29644d954edb999d
tree00c5476104d2b75444a94a790215cbc506cde7b3
parenta958cbfe367ed7bf6a3a260b28a7b19cf70b7d9f
reenable the piece that turns trunc(zext(x)) -> x even if zext has multiple uses,
codegen has no apparent problem with the trunc version of this, because it turns
into a simple subreg idiom

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