Go to file
Aditya Kumar 38bc3df8a3 [locale] Avoid copy of __atoms when char_type is char
The function num_get<_CharT>::stage2_int_prep makes unnecessary copy of src
into atoms when char_type is char. This can be avoided by creating
a switch on type and just returning __src when char_type is char.

Added the test case to demonstrate performance improvement.
In order to avoid ABI incompatibilities, the changes are guarded
with a macro _LIBCPP_ABI_OPTIMIZED_LOCALE_NUM_GET

Differential Revision: https://reviews.llvm.org/D30268
Reviewed by: EricWF

llvm-svn: 305427
2017-06-14 23:17:45 +00:00
clang [Preprocessor]Correct Macro-Arg allocation of StringifiedArguments, 2017-06-14 23:09:01 +00:00
clang-tools-extra Update callbacks tracker to match change in 305425 2017-06-14 23:15:51 +00:00
compiler-rt [sanitizer] Reverting D34152 2017-06-14 17:32:26 +00:00
debuginfo-tests Add a test for PR33166. 2017-05-25 19:33:16 +00:00
libclc generic: add missing get_work_dim include 2017-06-02 15:58:35 +00:00
libcxx [locale] Avoid copy of __atoms when char_type is char 2017-06-14 23:17:45 +00:00
libcxxabi Set a default value for LIBCXXABI_LIBDIR_SUFFIX, fixes installing into lib64 after r304374 2017-06-13 08:16:44 +00:00
libunwind [libunwind] Fix executable stack directive on Linux. 2017-05-16 20:18:57 +00:00
lld Remove lld toStringRef function. 2017-06-14 20:20:11 +00:00
lldb [testsuite] xfailed two tests that depend on NSString conforming to NSCopying. 2017-06-14 23:01:43 +00:00
llgo irgen: Create functions instead of global variables for builtin hash and equal algorithms. 2017-06-04 22:11:28 +00:00
llvm IR: Tweak the API around adding modules to the summary index. 2017-06-14 22:35:27 +00:00
openmp Replace platform macro with KMP_MIC_SUPPORTED 2017-06-13 17:17:26 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly Don't check side effects for functions outside of SCoP 2017-06-14 22:43:28 +00:00