- Aug 01, 2020
-
-
cgyurgyik authored
Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D84960
-
kristina authored
Set -Wno-suggest-override where such warning is provided by the compiler when building libunwind, alongside libcxx and libcxxabi, using recent Clang. This extends behavior introduced in 77e0e9e1 to libunwind, avoiding a large amount of warnings during builds. See D84126 for the original patch.
-
Michael Kruse authored
-
Craig Topper authored
If absolute value needs turn a negative number into a positive number it reduces the number of sign bits by at most 1. Differential Revision: https://reviews.llvm.org/D84971
-
sameeran joshi authored
Added more tests. Annotate sources and tests. Improve error message. Reviewed By: PeteSteinfeld Differential Revision: https://reviews.llvm.org/D85014
-
Jonas Devlieghere authored
Import the subprocess module once instead of doing it inline which is error prone and leads to needless code duplication.
-
Teresa Johnson authored
I found that propagateAttributes was ~23% of a thin link's run time (almost 4x higher than the second hottest function). The main reason is that it re-examines a global var each time it is referenced. This becomes unnecessary once it is marked both non read only and non write only. I added a set to avoid doing redundant work, which dropped the runtime of that thin link by almost 15%. I made a smaller efficiency improvement (no measurable impact) to skip all summaries for a VI if the first copy is dead. I added an assert to ensure that all copies are dead if any is. The code in computeDeadSymbols marks all summaries for a VI as live. There is one corner case where it was skipping marking an alias as live, that I fixed. However, since the code earlier marked all copies of a preserved GUID's VI as live, and each 'visit' marks all copies live, the only case where this could make a difference is summaries that were marked live when they were built initially, and that is only a few special compiler generated symbols and inline assembly symbols, so it likely is never provoked in practice. Differential Revision: https://reviews.llvm.org/D84985
-
Fangrui Song authored
The function was added in 2003. It is not used and can be emulated with ParseCommandLineOptions.
-
Albion Fung authored
This patch implements the instruction definition and MC tests for the vector string isolate instructions. Differential Revision: https://reviews.llvm.org/D84197
-
Florian Hahn authored
-
Aditya Nandakumar authored
https://reviews.llvm.org/D84909 Patch adds two new GICombinerRules, one for G_INTTOPTR and one for G_PTRTOINT. The G_INTTOPTR elides ptr2int(int2ptr(x)) to a copy of x, if the cast is within the same address space. The G_PTRTOINT elides int2ptr(ptr2int(x)) to a copy of x. Patch additionally adds new combiner tests for the AArch64 target to test these new combiner rules. Patch by mkitzan
-
Keith Randall authored
We want the Go build to not use getauxval, as we must support glibc < 2.16 platforms. Reviewed By: dvyukov Differential Revision: https://reviews.llvm.org/D84859
-
Simon Pilgrim authored
Add AVX512BW/AVX512BWVL prefixes for a future patch
-
Hiroshi Yamauchi authored
Following up D84782. Differential Revision: https://reviews.llvm.org/D84953
-
Hongtao Yu authored
A function call can be replicated by optimizations like loop unroll and jump threading and the replicates end up sharing the sample nested callee profile. Therefore when it comes to merging samples for uninlined callees in the sample profile inliner, a callee profile can be merged multiple times which will cause an assert to fire. This change avoids merging same callee profile for duplicate callsites by filtering out callee profiles with a non-zero head sample count. Reviewed By: wenlei, wmi Differential Revision: https://reviews.llvm.org/D84997
-
LLVM GN Syncbot authored
-
Sameer Arora authored
Refactoring `Slice` class and function `createUniversalBinary` from `llvm-lipo` into MachOUniversalWriter. This refactoring is necessary so as to use the refactored code for creating universal binaries under llvm-libtool-darwin. Reviewed by alexshap, smeenai Differential Revision: https://reviews.llvm.org/D84662
-
- Jul 31, 2020
-
-
Amy Kwan authored
[PowerPC] Implement low-order Vector Modulus Builtins, and add Vector Multiply/Divide/Modulus Builtins Tests Power10 introduces new instructions for vector multiply, divide and modulus. These instructions can be exploited by the builtin functions: vec_mul, vec_div, and vec_mod, respectively. This patch aims adds the function prototype, vec_mod, as vec_mul and vec_div been previously implemented in altivec.h. This patch also adds the following front end tests: vec_mul for v2i64 vec_div for v4i32 and v2i64 vec_mod for v4i32 and v2i64 Differential Revision: https://reviews.llvm.org/D82576
-
Xing GUO authored
It's better to use yaml::Hex64 as length in the tuples of the address range table.
-
Benjamin Kramer authored
-
Hans Wennborg authored
-
Louis Dionne authored
As explained in https://gitlab.kitware.com/cmake/cmake/-/issues/21045, both branches of an $<IF> generator expression are evaluated eagerly by CMake. As a result, if the non-selected branch contains an invalid generator expression (such as getting the OUTPUT_NAME property of a non-existent target), a hard error will occur. This failed builds using the cxxrt ABI library, which doesn't create a CMake target currently.
-
Thomas Raoux authored
This change allow CooperativeMatrix Load/Store operations to use pointer type that may not match the matrix element type. This allow us to declare buffer with a larger type size than the matrix element type. This follows SPIR-V spec and this is needed to be able to use cooperative matrix in combination with shared local memory efficiently. Differential Revision: https://reviews.llvm.org/D84993
-
Richard Barton authored
As expected by user in http://lists.llvm.org/pipermail/flang-dev/2020-June/000404.html Depends on D84856 Differential Revision: https://reviews.llvm.org/D84857
-
Richard Barton authored
Add a usage string and a defaults section that clarifies: * If no input files are given, f18 reads from stdin * If no input files are given, f18 dumps the parse tree. * The default behaviour is to exec F18_FC. * The fefault F18_FC setting is 'gfortran' Adds a simple regression test which tests the top and tail of the help screen and the exit status. Depends on D84855 Differential Revision: https://reviews.llvm.org/D84856
-
Richard Barton authored
When flang is invoked with no files it waits for input on stdin. Make it print a message saying this to prevent the user being surprised. Differential Revision: https://reviews.llvm.org/D84855
-
Matt Arsenault authored
Moves isNoopAddrSpaceCast to the TargetMachine. It logically belongs with the DataLayout.
-
Frederik Gossen authored
In a context in which `shape.broadcast` is known not to produce an error value, we want it to operate solely on extent tensors. The operation's behavior is then undefined in the error case as the result type cannot hold this value. Differential Revision: https://reviews.llvm.org/D84933
-
Nico Weber authored
-
Sourabh Singh Tomar authored
`ParallelOp` has only one region associated with it. Reviewed By: kiranchandramohan, ftynse Differential Revision: https://reviews.llvm.org/D85008
-
Erich Keane authored
DR2303 fixes the case where the derived-base match for template deduction is ambiguous if a base-of-base ALSO matches. The canonical example (as shown in the test) is just like the MSVC implementation of std::tuple. This fixes a fairly sizable issue, where if a user inherits from std::tuple on Windows (with the MS STL), they cannot use that type to call a function that takes std::tuple. Differential Revision: https://reviews.llvm.org/D84048
-
Haojian Wu authored
And also fix a bug where we may return a meaningless location. Differential Revision: https://reviews.llvm.org/D84919
-
Bjorn Pettersson authored
When building with LLVM8.0 on RHEL7.8 I got failures like this after commit 45a720a8: /app/llvm/8.0/bin/../lib/gcc/x86_64-unknown-linux-gnu/ 5.4.0/../../../../include/c++/5.4.0/ext/new_allocator.h:120:23: error: no matching constructor for initialization of 'std::pair<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> >' { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); } ... ../../clang-tools-extra/clang-tidy/ClangTidyOptions.cpp:73:15: note: in instantiation of function template specialization 'std::vector<std::pair<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> >, std::allocator<std::pair<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> > > >::emplace_back<llvm::StringRef, const std::__cxx11::basic_string<char> &>' requested here Options.emplace_back(KeyValue.getKey(), KeyValue.getValue().Value); This is an attempt to avoid such build problems.
-
Xing GUO authored
This patch makes the 'debug_aranges' entry optional. If the entry is empty, yaml2obj will only emit the header for it. Reviewed By: jhenderson Differential Revision: https://reviews.llvm.org/D84921
-
Xing GUO authored
In this patch, we add a helper function getDWARFEmitterByName(). This function returns the proper DWARF section emitting method by the name. Reviewed By: jhenderson Differential Revision: https://reviews.llvm.org/D84952
-
Xing GUO authored
In this patch, emitDebugPubnames(), emitDebugPubtypes(), emitDebugGNUPubnames(), emitDebugGNUPubtypes() are added. Reviewed By: jhenderson Differential Revision: https://reviews.llvm.org/D85003
-
Kirill Bobyrev authored
macOS builds suddenly started failing: https://github.com/kirillbobyrev/indexing-tools/runs/925090879 This patch makes use of imported libraries and fixes builds for macOS. Landing this without a review since the patch is quite straightforward and I've been testing it on my local macOS machine for a while. Differential Revision: https://reviews.llvm.org/D84928
-
Nemanja Ivanovic authored
There are some files in compiler-rt that use UTF-8 characters in some of the comments. This causes lint failures with some versions of Python. This patch just makes the encoding explicit in the call to open.
-
Jakub Lichman authored
Replaced definition of named ND ConvOps with tensor comprehension syntax which reduces boilerplate code significantly. Furthermore, new ops to support TF convolutions added (without strides and dilations). Reviewed By: nicolasvasilache Differential Revision: https://reviews.llvm.org/D84628
-
Joachim Protze authored
This is to address the issue reported at: https://bugs.llvm.org/show_bug.cgi?id=46863 Since weak is meaningless for a shared library interface function, this patch disables the attribute, when the OpenMP library is built as shared library. ompt_start_tool is not an interface function, but a internally called function possibly implemented by an OMPT tool. This function needs to be weak if possible to allow overwriting ompt_start_tool with a function implementation built into the application. Differential Revision: https://reviews.llvm.org/D84871
-