For expression like
authorZhou Sheng <zhousheng00@gmail.com>
Tue, 13 Mar 2007 06:40:59 +0000 (06:40 +0000)
committerZhou Sheng <zhousheng00@gmail.com>
Tue, 13 Mar 2007 06:40:59 +0000 (06:40 +0000)
commitb277b16593d892421f1bda0e76ada00ac67c539b
tree73b2aa10e5f8242d2bce118b22fb12f9bea44267
parentb991dfeae75fba839150a21272a2aa875ec3945f
For expression like
"APInt::getAllOnesValue(ShiftAmt).zextOrCopy(BitWidth)",
to handle ShiftAmt == BitWidth situation, use zextOrCopy() instead of
zext().

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