[llvm-commits] CVS: llvm/lib/Transforms/Scalar/InstructionCombining.cpp

Chris Lattner clattner at apple.com
Thu Mar 29 23:25:31 PDT 2007


On Mar 28, 2007, at 7:26 PM, Zhou Sheng wrote:

> InstructionCombining.cpp updated: 1.706 -> 1.707
> ---
> Log message:
>
> Clean up codes in InstCombiner::SimplifyDemandedBits():
> 1. Line out nested call of APInt::zext/trunc.
> 2. Make more use of APInt::getHighBitsSet/getLowBitsSet.
> 3. Use APInt[] operator instead of expression like "APIntVal &  
> SignBit".

Very nice, thanks for these cleanups!

-Chris



More information about the llvm-commits mailing list