[PATCH] D22782: Added 'inline' attribute to __init to inline the basic_string's constructor

Sebastian Pop via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 11 10:02:38 PDT 2016


sebpop added a comment.

In https://reviews.llvm.org/D22782#512337, @EricWF wrote:

> I would love to see a benchmark with this, but I've done enough investigating on my own that I *know* this patch is beneficial.


This patch was motivated by perf analysis we did on a proprietary benchmark in which we have seen a reduction of about 1 billion instructions (out of 10B) on x86_64-linux and aarch64-linux.


Repository:
  rL LLVM

https://reviews.llvm.org/D22782





More information about the cfe-commits mailing list