- May 13, 2022
-
-
Matthias Springer authored
Most functions do not need a PatternRewriter or ConversionPatternRewriter. Differential Revision: https://reviews.llvm.org/D125466
-
Matthias Springer authored
No need to expose this as public API anymore. Differential Revision: https://reviews.llvm.org/D125361
-
Zakk Chen authored
The goal is support tail and mask policy in RVV builtins. We focus on IR part first. If the passthru operand is undef, we use tail agnostic, otherwise use tail undisturbed. Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D125323
-
Sam Parker authored
Recommit. Check for legal zext 'sinks' before inserting a trunc. Differential Revision: https://reviews.llvm.org/D115451
-
Jay Foad authored
Previously it built MIR for the results and returned a Register. This avoids building constants for earlier elements of the vector if later elements will fail to fold, and allows CSEMIRBuilder::buildInstr to avoid unconditionally building a copy from the result. Use a new helper function MachineIRBuilder::buildBuildVectorConstant to build a G_BUILD_VECTOR of G_CONSTANTs. Differential Revision: https://reviews.llvm.org/D117758
-
Sam Parker authored
Simplify existing test and also add it as a codegen test for aarch64.
-
Daniel Kiss authored
Program may set the RA_SIGN_STATE pseudo register by expressions. Libunwind expected only the DW_CFA_AARCH64_negate_ra_state could change the value of the register which leads to runtime errors on PAC enabled systems. In the recent version of the aadwarf64[1] a limitation is added[2] to forbid the mixing the DW_CFA_AARCH64_negate_ra_state with other DWARF Register Rule Instructions. [1] https://github.com/ARM-software/abi-aa/releases/tag/2022Q1 [2] https://github.com/ARM-software/abi-aa/pull/129 Reviewed By: #libunwind, MaskRay Differential Revision: https://reviews.llvm.org/D123692
-
Endre Fülöp authored
BoolAssignment checker is now taint-aware and warns if a tainted value is assigned. Original author: steakhal Reviewed By: martong Differential Revision: https://reviews.llvm.org/D125360
-
Dmitry Makogon authored
This refactors RS4GC to cache results returned findBaseDefiningValue and also gets rid of BaseDefiningValueResult by caching the IsKnownBase flag for BDVs and bases. Differential Revision: https://reviews.llvm.org/D125000
-
Lian Wang authored
Reviewed By: frasercrmck Differential Revision: https://reviews.llvm.org/D125453
-
Alex Bradbury authored
Custom type-checking (in WebAssemblyAsmTypeCheck.cpp) is used to workaround the fact that separate variants of the instruction are defined for externref and funcref. Based on an initial patch by Paulo Matos <pmatos@igalia.com>. Differential Revision: https://reviews.llvm.org/D123484
-
Timm Bäder authored
Differential Revision: https://reviews.llvm.org/D125454
-
Timm Bäder authored
UTF8 char literals are always unsigned. Fixes https://github.com/llvm/llvm-project/issues/54886 Differential Revision: https://reviews.llvm.org/D124996
-
Zi Xuan Wu (Zeson) authored
It enables relocation resolver for CSKY to pass some check-all test, and also add some test about dwarf relocs. Differential Revision: https://reviews.llvm.org/D125450
-
Fangrui Song authored
This reverts commit ebdb9d63. Changing p_memsz is insufficient and may make PT_GNU_RELRO extend beyond the PT_LOAD.
-
Lian Wang authored
Reviewed By: frasercrmck Differential Revision: https://reviews.llvm.org/D125452
-
bzcheeseman authored
C-style casting can create a temporary when compiled by a C++ compiler, which was emitting a warning casting a reference to another reference. We can't use C++-style casting directly because it doesn't always work with incomplete types. In order to support the current use-cases, for references we switch to pointer space to perform the cast. Reviewed By: qiongsiwu1 Differential Revision: https://reviews.llvm.org/D125482
-
Chen Zheng authored
address code review comments for D123995
-
Ping Deng authored
Reviewed By: sunshaoce, asb, craig.topper Differential Revision: https://reviews.llvm.org/D125363
-
Xiang Li authored
Change Bitwriter to BitWriter. Reviewed By: beanz Differential Revision: https://reviews.llvm.org/D125507
-
Chenbing Zheng authored
This patch fix bug left in D124503. We should do sub(add(X,Z),umin(Y,Z)) --> add(X,usub.sat(Z,Y)) instead of sub(add(X,Z),umin(Y,Z)) --> add(X,usub.sat(Y,Z)). Reviewed By: spatel Differential Revision: https://reviews.llvm.org/D125352
-
Julian Lettner authored
Thread create/destroy events are not guaranteed to belivered on the parent thread, e.g., output from a CI job: ``` 5: THREAD_CREATE 0x7e8000104000, self: 0x1102ebdc0, name: n/a 6: THREAD_START 0x7e8000104000, self: 0x7e8000104000, name: n/a 7: Hello from pthread 8: THREAD_TERMINATE 0x7e8000104000, self: 0x7e8000104000, name: child thread 9: THREAD_DESTROY 0x7e8000104000, self: 0x7e8000104000, name: child thread ``` Here, THREAD_DESTROY is delivered on the thread being destroyed. rdar://92679941
-
Joseph Huber authored
Summary: Static libraries need to be handled differently from regular inpout files, namely they are loaded lazily. Previously we used a flag to indicate a file camm from a static library. This patch simplifies this by simply keeping a different array that contains the static libraries so we don't need to parse them out again.
-
Joseph Huber authored
Summary: The linker wrapper previously had functionality to strip the sections manually. We don't use this at all because this is much better done by the linker via the `SHF_EXCLUDE` flag. This patch simply removes the support for thi sfeature to simplify the code.
-
Med Ismail Bennani authored
Following 8b9caad8 , this only skips TestCppIncompleteTypeMembers.py on macOS if we test with `-gmodules` enabled. Signed-off-by:
Med Ismail Bennani <medismail.bennani@gmail.com>
-
Jim Ingham authored
a debug session with only a remote path to the file you are debugging using the SB API's. This patch makes it possible to do this using target create --remote-file <some_path> without supplying a local file as well. Prior to this change we errored out saying that we haven't implemented copying the binary back from the remote. I didn't implement the copy back (in the case I'm interested in - iOS debugging - we don't actually have a way for lldb to do that). This patch doesn't impede doing that, I just didn't need it. I think for some object file formats debugging w/o the binary file is hard because of what doesn't get mapped in. I didn't try to arbitrate that, I'm assuming anybody who has to do this knows what they are going to get. If there's a connected platform that can check that the remote file exists, it will do so, otherwise we trust the user's input - if it isn't there the process launch is going to fail with no-such-file so it will be pretty clear what went wrong. Differential Revision: https://reviews.llvm.org/D124947
-
wren romano authored
Work towards fixing: https://github.com/llvm/llvm-project/issues/51652 Depends On D122928 Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D122060
-
Med Ismail Bennani authored
This skips `TestCppIncompleteTypeMembers.py` on Darwin platforms since it requires `-flimit-debug-info` which is not supported. This should fix the Green Dragon bot test run: https://green.lab.llvm.org/green/job/lldb-cmake/43678 Signed-off-by:
Med Ismail Bennani <medismail.bennani@gmail.com>
-
Med Ismail Bennani authored
This patch adds a new `GetIndexForLineEntry` method to the `SBCompileUnit` class. As the name suggests, given an `SBLineEntry` object, this will return the line entry index within a specific compile unit. This method can take a `exact` boolean that will make sure that the provided line entry matches perfectly another line entry in the compile unit. rdar://47450887 Differention Revision: https://reviews.llvm.org/D125437 Signed-off-by:
Med Ismail Bennani <medismail.bennani@gmail.com>
-
owenca authored
If a closing brace is followed by a non-trailing comment, the newline before the closing brace must also be removed. Differential Revision: https://reviews.llvm.org/D125451
-
David Goldman authored
This behaves just like the sh/cmd.exe equivalents. pushd/popd are useful to verify path handling of the driver, typically testing prefix maps or relative path handling. Differential Revision: https://reviews.llvm.org/D125502
-
Tobias Ribizel authored
Currently, LLVM's LineEditor and LLDB both use libedit, but find them in different (inconsistent) ways. This causes issues e.g. when you are using a locally installed version of libedit, which will not be used by clang-query, but by lldb if picked up by FindLibEdit.cmake Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D124673
-
Aart Bik authored
Implements a floating-point sign operator (using the new semi-ring ops) that accomodates +/-Inf and +/-NaN in consistent way. Reviewed By: bixia Differential Revision: https://reviews.llvm.org/D125494
-
River Riddle authored
The syntax highlighting for mlir has gotten a significant facelift, we also have some recent bug fixes for server launches.
-
River Riddle authored
The current grammar is really crusty, only supports a handful of cases, and is also out-of-date after various refactorings. This commit refactors the textmate grammar to handle significantly more cases, and now provides proper coloring for a majority of cases (including dialect attributes, operations, types, etc.) Differential Revision: https://reviews.llvm.org/D125458
-
Simon Dardis authored
Add the instructions and patterns for loads and stores in microMIPSr3 when a 64 bit FPU is present. Previously, this would lead to an instruction selection failure. This resolves PR/49200. Thanks to jdeguire for reporting the issue! Differential Revision: https://reviews.llvm.org/D124723
-
Florian Hahn authored
-
Simon Dardis authored
The MIPS backend attempts to combine integer multiply and addition or subtraction into a madd or msub operation. This optimization is heavily restricted due to its utility in many cases. PR/51114 highlighted that the optimization was performed on an associative basis which is correct in the `add` case but not in the `sub` case. Resolve this bug by performing an early exit in the case where the multiply is the LHS operand of the subtraction. This resolves PR/51114. Thanks to digitalseraphim for reporting the issue! Differential Revision: https://reviews.llvm.org/D124742
-
Jim Ingham authored
plugin to get queried earlier on in the startup, so that for .s files we call the language "unknown" not "not-loaded". This test was checking against that string, so I fixed it for the change.
-
Martin Storsjö authored
When we add `--unwindlib=none` during the CMake configure phase (to make CMake linking tests succeed before the unwind library has been built for the first time - when bootstrapping a cross toolchain from scratch), we add it to `CMAKE_REQUIRED_FLAGS` to make later CMake tests pass. When the option is added to `CMAKE_REQUIRED_FLAGS`, it gets added to both compilation and linking commands. When --unwindlib=none is added to the compilation command, it causes warnings (about being unused during compilation, as it only affects linking). When all CMake test compilations produce warnings, later CMake tests for `-Werror` fail. Add `--{start,end}-no-unused-arguments` around `--unwindlib=none`, if supported, to avoid unnecessary warnings due to this option. If the CMake requirement is bumped to 3.14, we could use `CMAKE_REQUIRED_LINK_OPTIONS` instead, removing the need for the `--{start,end}-no-unused-arguments` options. (However...
-