- Dec 10, 2020
-
-
Kazushi (Jam) Marukawa authored
VP tests recently added don't work on Release mode. They work on Debug mode, so I disable them on Release mode to make tests work.
-
Arthur Eubanks authored
The full aa-pipeline is required to remove the extra store.
-
Sam Clegg authored
Followup to https://reviews.llvm.org/D92909 Differential Revision: https://reviews.llvm.org/D92997
-
Jonas Devlieghere authored
Kill (rather than detach) form the inferior if debugserver loses its connection to lldb to prevent zombie processes. Differential revision: https://reviews.llvm.org/D92908
-
Yuanfang Chen authored
-
Richard Smith authored
non-type template parameter. The mangling information used here comes from private communication with Jon Caves at Microsoft.
-
Nico Weber authored
15% faster for linking Chromium's base_unittests.txt, according to ministat: ``` N Min Max Median Avg Stddev x 10 0.650213 0.69287586 0.65793395 0.66127126 0.012365407 + 10 0.54993701 0.59006906 0.55885506 0.56146643 0.013215349 Difference at 95.0% confidence -0.0998048 +/- 0.0120244 -15.0929% +/- 1.81838% (Student's t, pooled s = 0.0127974) ``` And matches what we do on the other ports. Differential Revision: https://reviews.llvm.org/D92736 -
Alina Sbirlea authored
-
Fangrui Song authored
Normally we should not delete options. However, the Clang driver passes `-plugin-opt={new,legacy}-pass-manager` instead of `--[no-]lto-legacy-pass-manager` (`-plugin-opt=new-pass-manager` has been used since 7.0), and it is unlikely anyone will use the `--lto-*` style options directly. So let's rename them to be consistent with the Clang driver option names. Reviewed By: aeubanks Differential Revision: https://reviews.llvm.org/D92988 -
Arthur Eubanks authored
This affects users of LTO that don't explicitly set UseNewPM. Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D92894
-
Fangrui Song authored
It should specify --sysroot to test the paths of crt1.o/crti.o/crtbegin.o. For a user who enable VE but do not actually have VE sysroot, the "nld" command line will have bare "crt1.o" "crti.o" ... "crtbegin.o"
-
Fangrui Song authored
-
Hansang Bae authored
This patch introduces a new RTM lock type based on spin lock which is used for OMP lock with speculative hint on supported architecture. Differential Revision: https://reviews.llvm.org/D92615
-
Nico Weber authored
This reverts commit 634a377b. Breaks tests on Windows, see https://reviews.llvm.org/D92381#2443407
-
Fangrui Song authored
Fixes test/CodeGen/flatten.c
-
Duncan P. N. Exon Smith authored
-
Fangrui Song authored
The new PM is considered stable and many downstream groups have adopted it (some have adopted it for more than two years). Add -f[no-]legacy-pass-manager to reflect the fact that it is no longer experimental and the legacy pass manager is something we strive to retire. In the future, when the legacy PM eventually goes away, -fno-experimental-new-pass-manager and -flegacy-pass-manager will be removed. This patch also changes -f[no-]legacy-pass-manager to pass `-plugin-opt={new,legacy}-pass-manager` to the linker (supported by both ld.lld and LLVMgold.so) when -flto/-flto=thin is specified Reviewed By: aeubanks, rsmith Differential Revision: https://reviews.llvm.org/D92915 -
Fangrui Song authored
-
Stanislav Mekhanoshin authored
Differential Revision: https://reviews.llvm.org/D92979
-
Artem Belevich authored
This is needed for CUDA compilation where NVPTX back-end only supports DWARF2, but host compilation should be allowed to use newer DWARF versions. Differential Revision: https://reviews.llvm.org/D92617
-
Duncan P. N. Exon Smith authored
Migrate to the `FileEntryRef` overload of `SourceManager::createFileID`.
-
Duncan P. N. Exon Smith authored
-
Krzysztof Parzyszek authored
-
Krzysztof Parzyszek authored
-
Scott Linder authored
There is an explicit option for the lexer to support this, but we crash when `-preserve-comments` is enabled because it checks for `getTok().getString().empty()` to detect the case. This doesn't work currently because the lexer reports this case as a string of length 1, containing a null byte. Change the lexer to instead report this case via an empty string, as the null terminator isn't logically a part of the textual input, and the check for `.empty()` seems natural and obvious in the calling code. Reviewed By: niravd Differential Revision: https://reviews.llvm.org/D92681
-
River Riddle authored
The documentation has become a bit stale with age, and doesn't include great documentation for some newer concepts. This revision tidies up a majority of it, with some more cleanup to come in the future. The documentation for the declarative specification is also moved from OpDefinitions.md to Interfaces.md, which is a much more logical place for it to live. Differential Revision: https://reviews.llvm.org/D92895
-
LLVM GN Syncbot authored
-
Krzysztof Parzyszek authored
Introduce HexagonVectorCombine as a helper class for vector-related optimizations.
-
Duncan P. N. Exon Smith authored
-
Saleem Abdulrasool authored
Rather than creating a series of associated calls and ensuring that everything is lined up, use a table driven approach that ensures that they two always stay in sync.
-
Nawrin Sultana authored
This patch adds new API __kmpc_taskloop_5 to accomadate strict modifier (introduced in OpenMP 5.1) in num_tasks and grainsize clause. Differential Revision: https://reviews.llvm.org/D92352
-
Duncan P. N. Exon Smith authored
This parameter is always set to `None`. Remove it. Differential Revision: https://reviews.llvm.org/D90889
-
Matt Morehouse authored
The wrapper clears shadow for optval and optlen when written. Reviewed By: stephan.yichao.zhao, vitalybuka Differential Revision: https://reviews.llvm.org/D92961
-
Rahul Joshi authored
- Remove some unused types from the Shape dialect - Fix from_extent_tensor to only allow 1D index tensors - Fix assuming_yield to only allow shape.assuming as the parent op. - Fix some documentation typos and reword some things. Differential Revision: https://reviews.llvm.org/D92901
-
Jason Molenda authored
When the architecture from the returned plist differs from the architecture lldb will pick when loading the binary file, lldb will reject the binary as not matching. We are working with UUID's in this case, so an architecture is not disambiguating anything; it just opens this possibility for failing to load the specified binary. Stop reading the architecture from the plist. <rdar://problem/71612561> Differential revision: https://reviews.llvm.org/D92692
-
Duncan P. N. Exon Smith authored
Migrate ObjCMT.cpp from using `const FileEntry*` to `FileEntryRef`. This is one of the blockers for changing `SourceManager` to use `FileEntryRef`. This adds an initial version of `SourceManager::getFileEntryRefForID`, which uses to `FileEntry::getLastRef`; after `SourceManager` switches, `SourceManager::getFileEntryForID` will need to call this function. This also adds uses of `FileEntryRef` as a key in a `DenseMap`, and a call to `hash_value(Optional)` in `DenseMapInfo<EditEntry>`; support for these were added in prep commits. Differential Revision: https://reviews.llvm.org/D92678
-
Peter Collingbourne authored
Normally compilers will allocate space for struct fields even if the field is an empty struct. Use the [[no_unique_address]] attribute to suppress that behavior. This attribute that was introduced in C++20, but compilers that do not support [[no_unique_address]] will ignore it since it uses C++11 attribute syntax. Differential Revision: https://reviews.llvm.org/D92966
-
Scott Linder authored
Avoids spurious newlines showing up in the output when emitting assembly via MC. Reviewed By: MaskRay, arsenm Differential Revision: https://reviews.llvm.org/D92690
-
Craig Topper authored
[X86] Use APInt::isSignedIntN instead of isIntN for 64-bit ANDs in X86DAGToDAGISel::IsProfitableToFold Pretty sure we meant to be checking signed 32 immediates here rather than unsigned 32 bit. I suspect I messed this up because in MathExtras.h we have isIntN and isUIntN so isIntN differs in signedness depending on whether you're using APInt or plain integers. This fixes a case where we didn't fold a constant created by shrinkAndImmediate. Since shrinkAndImmediate doesn't topologically sort constants it creates, we can fail to convert the Constant to a TargetConstant. This leads to very strange behavior later. Fixes PR48458.
-
Reid Kleckner authored
Pointed out by Ryan Prichard
-