Misc simplifications to InstCombiner::commonIntCastTransforms. Most of
authorEli Friedman <eli.friedman@gmail.com>
Mon, 13 Jul 2009 21:45:57 +0000 (21:45 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Mon, 13 Jul 2009 21:45:57 +0000 (21:45 +0000)
commit65445c5b1411f392af13cc825c5adf1eb31d0991
tree222836fb1b20d7c6fddadd3f554f26c2493f0a3e
parentea670f1dd8067a9b65f952d0548669045bf0e21f
Misc simplifications to InstCombiner::commonIntCastTransforms.  Most of
the changes are allowed by not calling this function for bitcasts.
The Instruction::AShr case is dead because
SimplifyDemandedInstructionBits handles that case.

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