aboutsummaryrefslogtreecommitdiff
path: root/lib/Support/MemoryBuffer.cpp
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2011-10-05 22:27:16 +0000
committerEli Friedman <eli.friedman@gmail.com>2011-10-05 22:27:16 +0000
commit792860883e00edd8ccb55360cd22d1e131bbe396 (patch)
tree93f7ff7bf021ab7c6ca86c013c7112117edbab9f /lib/Support/MemoryBuffer.cpp
parent30e6740f2e3d518ce1cfcd484ef728ac5764a645 (diff)
PR11061: Make simplifylibcalls fold strcmp("", x) correctly.
While I'm here, fix the related issue with strncmp, add some actual tests for strcmp and strncmp, and start using StringRef::compare for constant folding instead of using strcmp/strncmp so that the optimized IR isn't dependent on the host's implementation of strcmp. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141227 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/MemoryBuffer.cpp')
0 files changed, 0 insertions, 0 deletions