Displaying 1 50 of 234,107 commits (0.021s)

LLVM — llvm/trunk/lib/Analysis ConstantFolding.cpp, llvm/trunk/test/Transforms/InstCombine bitcast.ll

[ConstantFolding] Fix bitcast vector of i1.

Differential Revision: http://reviews.llvm.org/D21735

LLVM — llvm/trunk/lib/Target/Mips MipsISelLowering.cpp, llvm/trunk/test/CodeGen/Mips private-addr.ll

Mips: Fix access to private functions.

LLVM — lld/trunk/ELF Options.td

Ignore --sort-common.

Because we always sort common symbols, we can ignore the option.
Delta File
+1 -0 lld/trunk/ELF/Options.td
+1 -0 1 file

LLVM — cfe/trunk/include/clang/Driver CLCompatOptions.td, cfe/trunk/lib/Driver Tools.cpp

[clang-cl] Implement support for /std

/std: supports two arguments, c++14 and c++latest.  Currently, c++latest
maps to c++1z but this might change down the road.

LLVM — libcxx/trunk/test/support uses_alloc_types.hpp

Fix UB in uses_alloc_types.hpp

LLVM — libcxx/trunk/include memory __config, libcxx/trunk/test/std/utilities/memory/util.smartptr/util.smartptr.shared types.pass.cpp

Implement P0163r0. Add shared_ptr::weak_type.

This patch adds the weak_type typedef in shared_ptr. It is available in
C++17 and newer.

This patch also updates the _LIBCPP_STD_VER and TEST_STD_VER macros to
have the value of 16, since 2016 is the current year.

LLVM — libcxx/trunk/include/experimental memory_resource, libcxx/trunk/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.ctor assign.pass.cpp

Implement p0337r0. Delete operator= for polymorphic_allocator.

LLVM — libcxx/trunk/include functional, libcxx/trunk/test/std/utilities/function.objects/func.not_fn not_fn.pass.cpp

Implement P0358r1. Fixes for not_fn.

LLVM — libcxx/trunk/test/std/utilities/memory/util.smartptr/util.smartptr.enab enable_shared_from_this.pass.cpp

Fix C++03 failure in enable_shared_from_this test

LLVM — libcxx/trunk/include memory, libcxx/trunk/test/std/utilities/memory/util.smartptr/util.smartptr.enab enable_shared_from_this.pass.cpp

Fix PR27115 - enable_shared_from_this does not work as a virtual base class.

See https://llvm.org/bugs/show_bug.cgi?id=27115

The problem was that the conversion from
'const enable_shared_from_this<T>*' to 'const T*' didn't work if
T inherited enable_shared_from_this as a virtual base class. The fix
is to take the original pointer passed to shared_ptr's constructor in the
__enable_weak_this method and perform an upcast to 'const T*' instead of
performing a downcast from the enable_shared_from_this base.

LLVM — llvm/trunk/test/Transforms/InstCombine logical-select.ll

add tests for potential select transforms

LLVM — libcxx/trunk/test/libcxx/localization/locales/locale.convenience/conversions/conversions.string ctor_move.pass.cpp, libcxx/trunk/test/std/localization/locales/locale.convenience/conversions/conversions.string ctor_copy.pass.cpp

Fix C++03 build

LLVM — libcxx/trunk/include locale, libcxx/trunk/test/libcxx/localization/locales locale.convenience

Fix PR28079 - std::wstring_convert move constructor broken.

The move constructor for wstring_convert accidentally copied the state member
into the converted count member in the move constructor. This patch fixes
the typo.

While working on this I discovered that wstring_convert doesn't actually
provide a move constructor according to the standard and therefore this
constructor is a libc++ extension. I'll look further into whether libc++ should
provide this constructor at all. Neither libstdc++ or MSVC's STL provide it.
Delta File
+33 -0 libcxx/trunk/test/libcxx/localization/locales/locale.convenience/conversions/conversions.string/ctor_move.pass.cpp
+27 -0 libcxx/trunk/test/std/localization/locales/locale.convenience/conversions/conversions.string/ctor_copy.pass.cpp
+1 -1 libcxx/trunk/include/locale
+0 -0 libcxx/trunk/test/libcxx/localization/locales/locale.convenience/
+0 -0 libcxx/trunk/test/libcxx/localization/locales/locale.convenience/conversions/
+0 -0 libcxx/trunk/test/libcxx/localization/locales/locale.convenience/conversions/conversions.string/
+61 -1 6 files

LLVM — llvm/trunk/lib/CodeGen/SelectionDAG TargetLowering.cpp

Use isPositionIndependent predicate. NFC.

LLVM — llvm/trunk/lib/Target/ARM ARMFastISel.cpp

Use isPositionIndependent. NFC.

LLVM — llvm/trunk/lib/CodeGen/SelectionDAG TargetLowering.cpp

Use isPositionIndependent predicate.

LLVM — llvm/trunk/lib/Target/Hexagon HexagonISelLowering.cpp

Use isPositionIndependent predicate. NFC.

LLVM — llvm/trunk/include/llvm/Target TargetLowering.h, llvm/trunk/lib/CodeGen/SelectionDAG TargetLowering.cpp

Refactor a duplicated predicate. NFC.

LLVM — llvm/trunk/utils/lit/lit TestingConfig.py

[lit] Add SANITIZER_IGNORE_CVE_2016_2143 to pass_vars.

This variable is used by ASan (and other sanitizers in the future)
on s390x-linux to override a check for CVE-2016-2143 in the running
kernel (see revision 267747 on compiler-rt).  Since the check simply
checks if the kernel version is in a whitelist of known-good versions,
it may miss distribution kernels, or manually-patched kernels - hence
the need for this variable.  To enable running the ASan testsuite on
such kernels, this variable should be passed from the environment
down to the testcases.

Differential Revision: http://reviews.llvm.org/D19888

LLVM — libcxx/trunk/include functional, libcxx/trunk/src bind.cpp

Implement LWG 2488 - Make the placeholders constexpr.

This patch makes the bind placeholders in std::placeholders both (1) const and
(2) constexpr (See below).

This is technically a breaking change for any code using the placeholders
outside of std::bind and depending on them being non-const. However I don't
think this will break any real world code.

(1) Previously the placeholders were non-const extern globals in all
dialects. This patch changes these extern globals to be const in all dialects.
Since the cv-qualifiers don't participate in name mangling for globals this
is an ABI compatible change.

(2) Make the placeholders constexpr in C++11 and beyond. Although LWG 2488 only
applies to C++17 I don't see any reason not to backport this change.

LLVM — libcxx/trunk/test/std/atomics/atomics.types.generic address.pass.cpp

Work around MSVC bug in atomics.types.generic/address.pass.cpp test. Patch from 
STL at microsoft.com

LLVM — libcxx/trunk/test/std/localization/locale.categories/category.time/locale.time.get.byname get_one_wide.pass.cpp

Use L"cat" L"dog" when concatenating string literals. Patch from STL at microsoft.com

LLVM — libcxx/trunk/test/std/algorithms/alg.sorting/alg.sort/partial.sort partial_sort.pass.cpp partial_sort_comp.pass.cpp, libcxx/trunk/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.plinear eval.pass.cpp

Add array bounds assertions to satisfy MSVC's /analyze flag. Patch from STL at microsoft.com

LLVM — libcxx/trunk/test/support test_macros.h count_new.hpp

Add [[noreturn]] attribute to throw_bad_alloc_helper().

LLVM — libcxx/trunk/test/std/input.output/iostream.format/quoted.manip quoted.pass.cpp

Avoid narrowing conversions in quoted test. Patch from STL at microsoft.com

LLVM — lld/trunk/ELF LinkerScript.cpp

[LinkerScript] Spell 'character' correctly. NFC.
Delta File
+1 -1 lld/trunk/ELF/LinkerScript.cpp
+1 -1 1 file

LLVM — llvm/trunk/include/llvm/Analysis Interval.h, llvm/trunk/lib/Analysis AliasAnalysisEvaluator.cpp AliasSetTracker.cpp

Apply clang-tidy's modernize-loop-convert to lib/Analysis.

Only minor manual fixes. No functionality change intended.

LLVM — llvm/trunk/lib/CodeGen/AsmPrinter CodeViewDebug.cpp, llvm/trunk/test/DebugInfo/COFF types-array-advanced.ll

Revert r273807 (and r273809, r273810), it caused PR28311

LLVM — llvm/trunk/lib/MC WinCOFFObjectWriter.cpp MCDwarf.cpp, llvm/trunk/lib/MC/MCParser ELFAsmParser.cpp

Apply clang-tidy's modernize-loop-convert to lib/MC.

Only minor manual fixes. No functionality change intended.

LLVM — llvm/trunk/lib/IR Attributes.cpp TypeFinder.cpp

Apply clang-tidy's modernize-loop-convert to most of lib/IR.

Only minor manual fixes. No functionality change intended.

LLVM — cfe/trunk/lib/Headers emmintrin.h, cfe/trunk/test/CodeGen sse2-builtins.c

[X86] add _mm_loadu_si64

Differential Revision: http://reviews.llvm.org/D21504

LLVM — llvm/trunk/lib/Transforms/Utils CodeExtractor.cpp

[CodeExtractor] Merge DEBUG statements in an attempt to fix the msvc
build.

There's a known bug in msvc 2013 that fails to compile do-while loops
inside of ranged for loops.

LLVM — llvm/trunk/lib/CodeGen/AsmPrinter CodeViewDebug.cpp

Fixed build failure (due to unused variable error) in r273807.

LLVM — llvm/trunk/lib/CodeGen/AsmPrinter CodeViewDebug.cpp

Fixed build failure (due to unused variable error) in r273807.

LLVM — llvm/trunk/include/llvm PassAnalysisSupport.h, llvm/trunk/include/llvm/Support GenericDomTree.h

Apply clang-tidy's modernize-loop-convert to most of lib/Transforms.

Only minor manual fixes. No functionality change intended.

LLVM — llvm/trunk/lib/CodeGen/AsmPrinter CodeViewDebug.cpp, llvm/trunk/test/DebugInfo/COFF types-array-advanced.ll

[codeview] Improved array type support.

Added support for:
1. Multi dimension array.
2. Array of structure type, which previously was declared incompletely.
3. Dynamic size array.

Differential Revision: http://reviews.llvm.org/D21526

LLVM — llvm/trunk/lib/Transforms/Scalar RewriteStatepointsForGC.cpp

[RSForGC] Appease MSVC

LLVM — llvm/trunk/lib/Target/X86 X86ISelLowering.cpp

[X86] Rewrite lowerVectorShuffleWithPSHUFB to not require a ZeroableMask to be created. We 
can do everything with the starting mask and zeroable bit vector. This removes the last 
usage of isSingleInputShuffleMask. NFC

LLVM — llvm/trunk/lib/Target/X86 X86ISelLowering.cpp

[X86] Replace calls to isSingleInputShuffleMask with just checking if V2 is UNDEF. 
Canonicalization and creation of shuffle vector ensures this is equivalent.

LLVM — llvm/trunk/lib/CodeGen/SelectionDAG DAGCombiner.cpp

[SelectionDAG] Use DAG.getCommutedVectorShuffle instead of reimplementing it.

LLVM — llvm/trunk/lib/Transforms/Scalar LoopUnswitch.cpp, llvm/trunk/test/Transforms/LoopUnswitch guards.ll

[LoopUnswitch] Unswitch on conditions feeding into guards

Summary:
This is a straightforward extension of what LoopUnswitch does to
branches to guards.  That is, we unswitch

```
for (;;) {
  ...
  guard(loop_invariant_cond);
  ...
}
```

into

```
if (loop_invariant_cond) {
  for (;;) {
    ...
    // There is no need to emit guard(true)
    ...
  }
} else {
  for (;;) {

    [14 lines not shown]

LLVM — llvm/trunk/lib/Transforms/Scalar RewriteStatepointsForGC.cpp

[RSForGC] Bring the BDVState struct up to code; NFC

LLVM — llvm/trunk/lib/Transforms/Scalar RewriteStatepointsForGC.cpp

[RSForGC] Bring recomputeLiveInValues up to code; NFC

LLVM — llvm/trunk/lib/Transforms/Scalar RewriteStatepointsForGC.cpp

[RSForGC] Bring containsGCPtrType, isGCPointerType up to code; NFC

LLVM — llvm/trunk/lib/Transforms/Scalar RewriteStatepointsForGC.cpp

[RSForGC] Bring analyzeParsePointLiveness up to code; NFC

LLVM — llvm/trunk/lib/Transforms/Scalar RewriteStatepointsForGC.cpp

[RSForGC] Bring meetBDVStateImpl up to code; NFC

LLVM — llvm/trunk/lib/Transforms/Scalar RewriteStatepointsForGC.cpp

[RSForGC] Get rid of the unnecessary MeetBDVStates struct; NFC

All of its implementation is in just one function.

LLVM — llvm/trunk/include/llvm/IR Instructions.h, llvm/trunk/lib/Transforms/Scalar RewriteStatepointsForGC.cpp

[RSForGC] Bring findBasePointer up to code; NFC

Name-casing and minor style changes to bring the function up to the LLVM
coding style.

LLVM — llvm/trunk/include/llvm/Object COFF.h, llvm/trunk/lib/Object COFFObjectFile.cpp

[Object, COFF] An import data directory might not consist soley of imports

The last import is the penultimate entry, the last entry is nulled out.
Data beyond the null entry should not be considered to hold import
entries.

This fixes PR28302.

N.B.  I am working on a reduced testcase, the one in PR28302 is too
large.