- Aug 22, 2017
-
-
Erik Verbruggen authored
When we have enabled cache for global completions we did not have diagnostics for Bar and could not complete Ba as in provided code example. template <typename T> struct Foo { T member; }; template<typename T> using Bar = Foo<T>; int main() { Ba } Patch by Ivan Donchevskii! Differential Revision: https://reviews.llvm.org/D35355 llvm-svn: 311442 -
Siddharth Bhat authored
llvm-svn: 311440
-
Siddharth Bhat authored
llvm-svn: 311439
-
Sjoerd Meijer authored
This is a clean up of commit r311154; it's not necessary to pass HasFullFP16 as an argument, instead just query the DAG. Differential Revision: https://reviews.llvm.org/D36978 llvm-svn: 311438
-
Chandler Carruth authored
llvm-svn: 311437
-
Ilya Biryukov authored
llvm-svn: 311436
-
Alex Bradbury authored
The calling convention can be specified by the user in IR. Failing to support a particular calling convention isn't a programming error, and so relying on llvm_unreachable to catch and report an unsupported calling convention is not appropriate. Differential Revision: https://reviews.llvm.org/D36830 llvm-svn: 311435
-
Johannes Altmanninger authored
Handle the case when DeclContext is null. llvm-svn: 311434
-
Johannes Altmanninger authored
Summary: If a node referring to a name is within a class or namespace, do not use the full qualified name, but strip the namespace prefix. Reviewers: arphaman, bkramer Subscribers: klimek Differential Revision: https://reviews.llvm.org/D36681 llvm-svn: 311433
-
George Rimar authored
This is PR33245. Case I am fixing is next: Imagine we have 2 BC files, one defines and uses personality routine, second has only declaration and also uses it. Previously algorithm computing dead symbols (llvm::computeDeadSymbols) did not know about personality routines and leaved them dead even if function that has routine was live. As a result thinLTOInternalizeAndPromoteGUID() method changed binding for such symbol to local. Later when LLD tried to link these objects it failed because one object had undefined global symbol for routine and second object contained local definition instead of global. Patch set the live root flag on the corresponding FunctionSummary for personality routines when we build the per-module summaries during the compile step. Differential revision: https://reviews.llvm.org/D36834 llvm-svn: 311432
-
George Rimar authored
This is PR33097. Previously when doing relocatable link, all IR symbols were absent in result object file. Patch makes external symbols to be exported. Differential revision: https://reviews.llvm.org/D36957 llvm-svn: 311431
-
Chandler Carruth authored
a std::move() isn't needed here as the object is a temporary. llvm-svn: 311430
-
Craig Topper authored
[X86] Prevent several calls to ISD::isConstantSplatVector from returning a narrower APInt than the original scalar type ISD::isConstantSplatVector can shrink to the smallest splat width. But we don't check the size of the resulting APInt at all. This can cause us to misinterpret the results. This patch just adds a flag to prevent the APInt from changing width. Fixes PR34271. Differential Revision: https://reviews.llvm.org/D36996 llvm-svn: 311429
-
Vitaly Buka authored
llvm-svn: 311428
-
Kostya Serebryany authored
llvm-svn: 311427
-
Saleem Abdulrasool authored
This reverts SVN r311425 which broke one of the buildbots. It is unclear what header is being used there. Revert it until that can be handled properly. llvm-svn: 311426
-
Saleem Abdulrasool authored
On ARM, the `_Unwind_Exception` is an alias for `struct _Unwind_Control_Block`. The extra `struct` modifier causes a warning due to the locally scoped type. Special case this to avoid the warning. NFC. llvm-svn: 311425
-
Eric Beckmann authored
Summary: Now that the llvm-mt manifest merging libraries are complete, we may use them to merge manifests instead of needing to shell out to mt.exe. Subscribers: mgorny, llvm-commits Differential Revision: https://reviews.llvm.org/D36255 llvm-svn: 311424
-
Tobias Grosser authored
llvm-svn: 311423
-
George Karpenkov authored
llvm-svn: 311422
-
Kostya Serebryany authored
llvm-svn: 311421
-
Kostya Serebryany authored
llvm-svn: 311420
-
George Karpenkov authored
llvm-svn: 311419
-
Kostya Serebryany authored
llvm-svn: 311418
-
Kostya Serebryany authored
llvm-svn: 311417
-
Adrian Prantl authored
rdar://problem/33830532 llvm-svn: 311416
-
George Karpenkov authored
llvm-svn: 311415
-
George Karpenkov authored
llvm-svn: 311412
-
George Karpenkov authored
Resulting library binaries will be named libclang_rt.fuzzer*, and will be placed in Clang toolchain, allowing redistribution. Differential Revision: https://reviews.llvm.org/D36908 llvm-svn: 311407
-
George Karpenkov authored
Differential Revision: https://reviews.llvm.org/D36909 llvm-svn: 311406
-
George Karpenkov authored
This change only removes libFuzzer tests and CMake machinery, the source copy temporarily remains at the old location. Differential Revision: https://reviews.llvm.org/D36980 llvm-svn: 311405
-
Michael Kruse authored
llvm-svn: 311404
-
Michael Kruse authored
The implementation of computeArrayUnused did not consider writes without reads before, except for the first write in the SCoP. This caused it to 'forget' writes directly following another write. This patch re-adds the entire reaching defintion of a write that has not been covered before by a read. This fixes Polybench 4.2 2mm where only one of the matrix-multiplication was detected. llvm-svn: 311403
-
Justin Bogner authored
Same as r311392 with some fixes for library dependencies. Thanks to Chapuni for helping work those out! Original commit message: This introduces the FuzzMutate library, which provides structured fuzzing for LLVM IR, as described in my EuroLLVM 2017 talk. Most of the basic mutators to inject and delete IR are provided, with support for most basic operations. llvm-svn: 311402
-
Quentin Colombet authored
When removing a live-range we used to not touch them making debug prints harder to read because the IR was not matching what the live-ranges information was saying. This only affects debug printing and allows to put stronger asserts in the code (see r308906 for instance). llvm-svn: 311401
-
Craig Topper authored
[ValueTracking] Add assertions that the starting Depth in isKnownToBeAPowerOfTwo and ComputeNumSignBitsImpl is not above MaxDepth The function does an equality check later to terminate the recursion, but that won't work if its starts out too high. Similar assert already exists in computeKnownBits. llvm-svn: 311400
-
Bruce Mitchener authored
Summary: lldb-argdumper only needs lldbUtility to successfully build and link. Reviewers: beanz, zturner, labath Subscribers: mgorny, lldb-commits Differential Revision: https://reviews.llvm.org/D36948 llvm-svn: 311399
-
Akira Hatanaka authored
supplied. With this change, -fno-exceptions disables unwind tables unless -funwind-tables is supplied too or the target is x86-64 (x86-64 requires emitting unwind tables). rdar://problem/33934446 llvm-svn: 311397
-
Sanjay Patel authored
llvm-svn: 311396
-
Evgeniy Stepanov authored
Fixes PR32390. Patch by Andrey Krayniak. llvm-svn: 311394
-