commit a tweaked version of Daniel's patch for PR3599. We now
authorChris Lattner <sabre@nondot.org>
Tue, 17 Feb 2009 20:47:23 +0000 (20:47 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 17 Feb 2009 20:47:23 +0000 (20:47 +0000)
commita84f47c3e7bd1ba161ca46b64bd2469d49593320
tree0c415987b9f976d0bf4685e89ffe9353acbdd486
parent189c6357a1a1d09b8b0c5cf6f1cd561a47ccec18
commit a tweaked version of Daniel's patch for PR3599.  We now
eliminate all the extensions and all but the one required truncate
from the testcase, but the or/and/shift stuff still isn't zapped.

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