diff options
| author | Zhou Sheng <zhousheng00@gmail.com> | 2007-03-29 02:26:30 +0000 |
|---|---|---|
| committer | Zhou Sheng <zhousheng00@gmail.com> | 2007-03-29 02:26:30 +0000 |
| commit | 01542f3d80b510fedfa6eb3c6c7696a7116d4acd (patch) | |
| tree | 8b714adc284bdb3df0c33dea34b470c02f8dcf19 /lib/Bytecode/Reader | |
| parent | 97b52c260f5f17b8738b6083c63e15286094a7c8 (diff) | |
| download | llvm-01542f3d80b510fedfa6eb3c6c7696a7116d4acd.tar.gz llvm-01542f3d80b510fedfa6eb3c6c7696a7116d4acd.tar.bz2 llvm-01542f3d80b510fedfa6eb3c6c7696a7116d4acd.tar.xz | |
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
Diffstat (limited to 'lib/Bytecode/Reader')
0 files changed, 0 insertions, 0 deletions
