Skip to content
Commit 2ae30e86 authored by Jakob Stoklund Olesen's avatar Jakob Stoklund Olesen
Browse files

Avoid overflowing a signed integer which triggers undefined behaviour.

Overflowing an unsigned integer is fine and behaves as you would expect.
Also fix a pasto, allowing SignExtend64 to take a 64-bit argument.

llvm-svn: 100517
parent 0f290ec0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment