Skip to content
Commit 26af2a99 authored by Craig Topper's avatar Craig Topper
Browse files

[APInt] Add ashrInPlace method and implement ashr using it. Also fix a bug in...

[APInt] Add ashrInPlace method and implement ashr using it. Also fix a bug in the shift by BitWidth handling.

For single word, shift by BitWidth was always returning 0, but for multiword it was based on original sign. Now single word matches multi word.

llvm-svn: 301094
parent a2d25ac1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment