[PATCH] D25639: Add ctor for string literal to StringRef, and make explicit the conversion from const char *

Mehdi Amini via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 14 18:15:48 PDT 2016


Forgot to mention, I reported the 10x fold in number of call to strlen, but also the LTO link of llvm-tblgen was ~2-3% faster.

> On Oct 14, 2016, at 6:14 PM, Zachary Turner <zturner at google.com> wrote:
> 
> Just out of curiosity, is there a measurable improvement in any benchmark tests? 
> On Fri, Oct 14, 2016 at 6:08 PM Mehdi AMINI <mehdi.amini at apple.com <mailto:mehdi.amini at apple.com>> wrote:
> mehdi_amini added a comment.
> 
> Note: the patch is without context because otherwise it is too large for Phab.
> 
> 
> https://reviews.llvm.org/D25639 <https://reviews.llvm.org/D25639>
> 
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161014/847dbed2/attachment.html>


More information about the llvm-commits mailing list