diff options
| author | Craig Topper <craig.topper@gmail.com> | 2017-04-17 21:43:43 +0000 |
|---|---|---|
| committer | Craig Topper <craig.topper@gmail.com> | 2017-04-17 21:43:43 +0000 |
| commit | 9575d8ff364e79200177fb7f9ee93325308a83e6 (patch) | |
| tree | 6ac6448e4dea5e78c8ae7657a33e986ebfa2f2e3 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 0bb75412332a2ecdcf2067dd26268ffecc664ae5 (diff) | |
[APInt] Merge the multiword code from lshrInPlace and tcShiftRight into a single implementation
This merges the two different multiword shift right implementations into a single version located in tcShiftRight. lshrInPlace now calls tcShiftRight for the multiword case.
I retained the memmove fast path from lshrInPlace and used a memset for the zeroing. The for loop is basically tcShiftRight's implementation with the zeroing and the intra-shift of 0 removed.
Differential Revision: https://reviews.llvm.org/D32114
llvm-svn: 300503
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
