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 | 792860883e00edd8ccb55360cd22d1e131bbe396 (patch) | |
| tree | 93f7ff7bf021ab7c6ca86c013c7112117edbab9f /docs/CommandGuide/llvm-as.pod | |
| parent | 30e6740f2e3d518ce1cfcd484ef728ac5764a645 (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 'docs/CommandGuide/llvm-as.pod')
0 files changed, 0 insertions, 0 deletions
