commit | 01542f3d80b510fedfa6eb3c6c7696a7116d4acd | [log] [tgz] |
---|---|---|
author | Zhou Sheng <zhousheng00@gmail.com> | Thu Mar 29 02:26:30 2007 +0000 |
committer | Zhou Sheng <zhousheng00@gmail.com> | Thu Mar 29 02:26:30 2007 +0000 |
tree | 8b714adc284bdb3df0c33dea34b470c02f8dcf19 | |
parent | 97b52c260f5f17b8738b6083c63e15286094a7c8 [diff] |
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". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35444 91177308-0d34-0410-b5e6-96231b3b80d8