diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2011-04-20 03:19:42 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2011-04-20 03:19:42 +0000 |
commit | 52a83995d656b7fc88d2b8ea723a8429f6a763a2 (patch) | |
tree | f8487bc8bc62564d4c80d18fc45629c90e41eeeb /lib/Support/StringExtras.cpp | |
parent | 4788c3e839203dc75ba9fe2026f315095677715c (diff) |
This should always be signed chars, so use int8_t. This fixes a miscompile when
llvm is built with unsigned chars where an immediate such as 0xff would be zero
extended to 64-bits, turning "cmp $0xff,%eax" into
"cmp $0xffffffffffffffff,%eax".
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129845 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/StringExtras.cpp')
0 files changed, 0 insertions, 0 deletions