Enhance instcombine to be more aggressive about folding casts of
authorChris Lattner <sabre@nondot.org>
Thu, 2 Aug 2007 06:11:14 +0000 (06:11 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 2 Aug 2007 06:11:14 +0000 (06:11 +0000)
commit951626b437cbb6d2ddde56678e6dbf0ae72dc7be
tree47079aed9c83f72c9a48241ba1aef689cfc1d662
parentbfbfcdafbeb70d45a7fb9c983dbd724775c1281a
Enhance instcombine to be more aggressive about folding casts of
operations of casts.  This implements InstCombine/zext-fold.ll

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40726 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp
test/Transforms/InstCombine/zext-fold.ll [new file with mode: 0644]