llvm with tablegen backend for capstone disassembler
Go to file
Volodymyr Sapsai fb0e1908d4 [libcxx] Optimize vectors construction of trivial types from an iterator range with const-ness mismatch.
We already have a specialization that will use memcpy for construction
of trivial types from an iterator range like

    std::vector<int>(int *, int *);

But if we have const-ness mismatch like

    std::vector<int>(const int *, const int *);

we would use a slow path that copies each element individually. This change
enables the optimal specialization for const-ness mismatch. Fixes PR37574.

Contributions to the patch are made by Arthur O'Dwyer, Louis Dionne.

rdar://problem/40485845

Reviewers: mclow.lists, EricWF, ldionne, scanon

Reviewed By: ldionne

Subscribers: christof, ldionne, howard.hinnant, cfe-commits

Differential Revision: https://reviews.llvm.org/D48342

llvm-svn: 350583
2019-01-08 00:03:16 +00:00
clang NFC: Replace asserts with if() in SourceLocation accessors 2019-01-07 21:57:30 +00:00
clang-tools-extra [clangd] Fix Windows build after r350531 2019-01-07 17:03:15 +00:00
compiler-rt [TSan] Support Objective-C @synchronized with tagged pointers 2019-01-07 19:19:23 +00:00
debuginfo-tests Set config.lit_tools_dir, which is needed by lit.llvm.initialize. 2018-11-06 21:54:27 +00:00
libclc cmake: Install libraries to DATADIR from GNUInstallDirs 2019-01-07 20:20:37 +00:00
libcxx [libcxx] Optimize vectors construction of trivial types from an iterator range with const-ness mismatch. 2019-01-08 00:03:16 +00:00
libcxxabi [libcxx] Remove bad_array_length 2018-11-29 19:44:57 +00:00
libunwind [SEH] Add initial support for AArch64 2018-12-18 20:05:59 +00:00
lld [CodeView] More appropriate name and type for a Microsoft precompiled headers parameter. NFC 2019-01-07 13:53:16 +00:00
lldb Simplify code. 2019-01-07 23:08:16 +00:00
llgo Update copyright year to 2018. 2018-06-18 12:22:17 +00:00
llvm [dsymutil] Upstream unobfuscation logic. 2019-01-07 23:27:25 +00:00
openmp [OPENMP][NVPTX]Fix dynamic scheduling. 2019-01-07 14:25:25 +00:00
parallel-libs Update copyright year to 2018. 2018-06-18 12:22:17 +00:00
polly [CMake] Fix generation of exported targets in build directory 2018-11-06 15:18:17 +00:00
pstl [pstl] Avoid shadowing explicit lambda capture with lambda parameter 2019-01-07 17:31:17 +00:00
README.md Update the project name in README.md 2018-10-19 00:03:01 +00:00

The LLVM Compiler Infrastructure

This directory and its subdirectories contain source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and runtime environments.