summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/InstCombine/memccpy.ll
Commit message (Collapse)AuthorAgeFilesLines
* [InstCombine] Optimize some memccpy calls to memcpy/nullDávid Bolvanský2019-11-261-15/+150
| | | | | | | | | | | | | | | | | Summary: return memccpy(d, "helloworld", 'r', 20) => return memcpy(d, "helloworld", 8 /* pos of 'r' in string */), d + 8 Reviewers: efriedma, jdoerfert Reviewed By: jdoerfert Subscribers: hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D68089
* [NFC] Precommit tests for D68089David Bolvansky2019-09-261-0/+79
llvm-svn: 373006
OpenPOWER on IntegriCloud