aboutsummaryrefslogtreecommitdiffstats
path: root/lib/VMCore
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2010-04-06 03:12:43 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2010-04-06 03:12:43 +0000
commitadc6e06ff0c5950abda86574c2da1fc6b863b75c (patch)
treec20b07a8e44760901a560f6cd951616db54b3eb4 /lib/VMCore
parent3d3238699280ec8ccd5c5579bc04a48229abe7ef (diff)
downloadexternal_llvm-adc6e06ff0c5950abda86574c2da1fc6b863b75c.zip
external_llvm-adc6e06ff0c5950abda86574c2da1fc6b863b75c.tar.gz
external_llvm-adc6e06ff0c5950abda86574c2da1fc6b863b75c.tar.bz2
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100517 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore')
0 files changed, 0 insertions, 0 deletions