[PATCH] D24991: Inline hot functions in libcxx shared_ptr implementation.

Kevin Hu via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 27 15:51:48 PDT 2016


hxy9243 created this revision.
hxy9243 added reviewers: sebpop, hiraditya, wmi.
hxy9243 added a subscriber: cfe-commits.
hxy9243 set the repository for this revision to rL LLVM.

This patch moves some existing functions from the memory.cpp to the memory header file, so that they could be properly inlined, which gives potential optimization opportunities and performance benefits.

Repository:
  rL LLVM

https://reviews.llvm.org/D24991

Files:
  libcxx/include/atomic_support.h
  libcxx/include/memory
  libcxx/src/include/atomic_support.h
  libcxx/src/memory.cpp
  libcxx/src/mutex.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24991.72725.patch
Type: text/x-patch
Size: 14718 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160927/e2026895/attachment.bin>


More information about the cfe-commits mailing list