Skip to content
  • Eli Friedman's avatar
    PR11061: Make simplifylibcalls fold strcmp("", x) correctly. · 3e3aecbc
    Eli Friedman authored
    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
    3e3aecbc
Loading