summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/InstCombine/strchr-1.ll
Commit message (Collapse)AuthorAgeFilesLines
* Fixing a corner-case bug in strchr and strrchr lib call optimizations whereYunzhong Gao2013-08-151-0/+11
| | | | | | | | | the input character is not converted to char before comparing with zero. The patch was discussed in this thread: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20130812/184069.html llvm-svn: 188489
* instcombine: Migrate strchr and strrchr optimizationsMeador Inge2012-10-131-0/+54
This patch migrates the strchr and strrchr optimizations from the simplify-libcalls pass into the instcombine library call simplifier. llvm-svn: 165875
OpenPOWER on IntegriCloud