diff options
| author | Eli Friedman <eli.friedman@gmail.com> | 2011-10-05 22:27:16 +0000 |
|---|---|---|
| committer | Eli Friedman <eli.friedman@gmail.com> | 2011-10-05 22:27:16 +0000 |
| commit | 3e3aecbc2cd760b958e38a163f5162f939405f14 (patch) | |
| tree | 9a2156212d22b124226d7a68d863492360d6a30f /llvm/lib/Transforms/CMakeLists.txt | |
| parent | 267f323d28aad590ccde7806bf35f11511760a58 (diff) | |
| download | bcm5719-llvm-3e3aecbc2cd760b958e38a163f5162f939405f14.tar.gz bcm5719-llvm-3e3aecbc2cd760b958e38a163f5162f939405f14.zip | |
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.
llvm-svn: 141227
Diffstat (limited to 'llvm/lib/Transforms/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions

