- Sep 30, 2020
-
-
Jonas Paulsson authored
Add support of "nop" and "nopr" (without operands) to assembler. Review: Ulrich Weigand
-
Jay Foad authored
Following on from D87757 "[SplitKit] Only copy live lanes", it is possible to split a live range at a point when none of its subranges are live. This patch handles that case by inserting an implicit def of the superreg. Patch by Quentin Colombet! Differential Revision: https://reviews.llvm.org/D88397
-
Mirko Brkusanin authored
Check if operand of mul is constant value of one for certain atomic instructions in order to avoid making unnecessary instructions when -amdgpu-atomic-optimizer is present. Differential Revision: https://reviews.llvm.org/D88315
-
Kadir Cetinkaya authored
Relative paths received from the server are always in posix style. So we need to ensure they are relative using that style, and not the native one. Differential Revision: https://reviews.llvm.org/D88507
-
Sam McCall authored
-
Sam McCall authored
-
Jeremy Morse authored
Some of the buildbots have croaked with this patch, for examples failures that begin in this build: http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux/builds/29933 This reverts commit 674f5787.
-
Georgii Rymar authored
This removes 4 input files (one source file and 3 precompiled binaries) from `mips-got.test` (now YAMLs are used instead) and also makes the testing of the GNU output a bit stricter (`--strict-whitespace --match-full-lines`). Differential revision: https://reviews.llvm.org/D88488
-
Georgii Rymar authored
[llvm-readobj][ARM] - Improve support of printing unwind (-u) information for non-relocatable objects. This is the one more patch for https://bugs.llvm.org/show_bug.cgi?id=47581 It fixes how we print an information for the Generic model. With this patch we are able to read values from `.ARM.extab` and dump proper personality routines names/addresses. Differential revision: https://reviews.llvm.org/D88478
-
Frederik Gossen authored
Differential Revision: https://reviews.llvm.org/D88168
-
Sam Parker authored
Make a helper function that wraps around RDA::isSafeToRemove and utilises the existing DCE IT block checks.
-
Sam McCall authored
Differential Revision: https://reviews.llvm.org/D88489
-
Sam McCall authored
In preparation for making moving TweakFilter from ClangdServer::Options to a ClangdLSPServer option, and letting it vary per-request. (In order to implement CodeActionParams.only) Also a general overdue cleanup. Differential Revision: https://reviews.llvm.org/D88470
-
Sam Parker authored
-
Sam Parker authored
So forwards is forwards and backwards is reverse. Also add a check so that we know the instructions are in the expected order. Differential Revision: https://reviews.llvm.org/D88419
-
Sam Parker authored
Just because we haven't encountered an instruction setting the VPR, it doesn't mean we can't create a VPT block - the VPR maybe a live-in. Differential Revision: https://reviews.llvm.org/D88224
-
Jonas Devlieghere authored
Rather than relaying on CMake to substitute the full path to the lldb source root, use the value set in config.lldb_src_root. This makes it slightly easier to write a custom lit.site.cfg.py.
-
Serge Pavlov authored
This test is going to be removed because using dynamic rounding mode in initializers is changing. It also causes build failures in some cases, so remove it now.
-
Scott Todd authored
Since https://reviews.llvm.org/D78522, Symbol is not a Trait itself. Reviewed By: rriddle Differential Revision: https://reviews.llvm.org/D88512
-
Arthur Eubanks authored
-
Brad Smith authored
-
Amara Emerson authored
During lowering of G_UMULO and friends, the previous code moved the builder's insertion point to be after the legalizing instruction. When that happened, if there happened to be a "G_CONSTANT i32 0" immediately after, the CSEMIRBuilder would try to find that constant during the buildConstant(zero) call, and since it dominates itself would return the iterator unchanged, even though the def of the constant was *after* the current insertion point. This resulted in the compare being generated *before* the constant which it was using. There's no need to modify the insertion point before building the mul-hi or constant. Delaying moving the insert point ensures those are built/CSEd before the G_ICMP is built. Fixes PR47679 Differential Revision: https://reviews.llvm.org/D88514
-
Craig Topper authored
These instructions are implemented with two port 5 uops and one port 015 uop so they are more complicated that most shuffles. This patch increases the depth threshold for when we form them during shuffle combining to try to limit increasing the number of uops especially on port 5. Differential Revision: https://reviews.llvm.org/D88503
-
Hubert Tong authored
This patch improves the assembly output produced for string literals by using character literals in byte lists. This provides the benefits of having printable characters appear as such in the assembly output and of having strings kept as logical units on the same line. Reviewed By: daltenty Differential Revision: https://reviews.llvm.org/D80953
-
Evandro Menezes authored
Use the ISA extensions for specific processors in the conventional canonical order.
-
Yaxun (Sam) Liu authored
-
Vedant Kumar authored
-
Jonas Devlieghere authored
Give the trace directory argument its own variable (LLDB_TEST_TRACE_DIRECTORY) so that we can configure it in lit.site.cfg.py if we so desire.
-
Richard Smith authored
- Make the consteval constructor for the zero type be noexcept - Don't expect three-way comparison of 0 against a comparison category to fail
-
Vitaly Buka authored
llvm.fabs does not need a special handler as llvm.abs as its single argument type match the return type.
-
Vitaly Buka authored
-
Vedant Kumar authored
-
Amy Huang authored
Add class types to the retained types list to make sure they don't get dropped if the constructor is optimized out later. Differential Revision: https://reviews.llvm.org/D88522
-
John McCall authored
- Fix a memory leak accidentally introduced yesterday by using CodeGen's existing mangling context instead of creating a new context afresh. - Move GNU-runtime ObjC method mangling into the AST mangler; this will eventually be necessary to support direct methods there, but is also just the right architecture. - Make the Apple-runtime method mangling work properly when given an interface declaration, fixing a bug (which had solidified into a test) where mangling a category method from the interface could cause it to be mangled as if the category name was a class name. (Category names are namespaced within their class and have no global meaning.) - Fix a code cross-reference in dsymutil. Based on a patch by Ellis Hoag.
-
Jacques Pienaar authored
NFC. Some small changes to make things more consistent but primarily avoiding old behavior without any further change.
-
Vedant Kumar authored
Lifetime marker intrinsics support any pointer type, so CodeExtractor does not need to bitcast to `i8*` in order to use these markers.
-
Richard Smith authored
This causes a build break under -Werror=format.
-
Stanislav Mekhanoshin authored
It turns to be not needed anymore. Differential Revision: https://reviews.llvm.org/D88520
-
Richard Smith authored
This happens in glibc's headers. It's important that we recognize these functions so that we can mark them as returns_twice. Differential Revision: https://reviews.llvm.org/D88518
-
Richard Smith authored
* Use an empty struct instead of a member pointer to represent this type, so that we don't actually pass a zero member pointer at runtime. * Mark the constructor as consteval to ensure that no code is emitted for it whenever possible. * Add a honeypot constructor to reject all non-int arguments, so that the only argument that can arrive at the real constructor is the literal 0. This results in better generated code, and rejecting invalid comparisons against nullptr, 0L, and so on, while also rejecting invalid comparisons against (1-1) and similar that would be allowed if we required an integer constant expression with value 0. Differential Revision: https://reviews.llvm.org/D85051
-