summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/NameAnonGlobals.cpp
diff options
context:
space:
mode:
authorEli Friedman <efriedma@codeaurora.org>2019-01-09 23:39:26 +0000
committerEli Friedman <efriedma@codeaurora.org>2019-01-09 23:39:26 +0000
commitd4e7a0d83ca785925a4f8c82d114377f5b156bbf (patch)
tree1c40cbaf08d91cd6ef285178ef823409bb25a056 /llvm/lib/Transforms/Utils/NameAnonGlobals.cpp
parent30ba0a0c950a0cdf23a70fce6c16d501c5f238c8 (diff)
downloadbcm5719-llvm-d4e7a0d83ca785925a4f8c82d114377f5b156bbf.tar.gz
bcm5719-llvm-d4e7a0d83ca785925a4f8c82d114377f5b156bbf.zip
[SimplifyLibCalls] Fix memchr expansion for constant strings.
The C standard says "The memchr function locates the first occurrence of c (converted to an unsigned char)[...]". The expansion was missing the conversion to unsigned char. Fixes https://bugs.llvm.org/show_bug.cgi?id=39041 . Differential Revision: https://reviews.llvm.org/D55947 llvm-svn: 350775
Diffstat (limited to 'llvm/lib/Transforms/Utils/NameAnonGlobals.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud