- Apr 01, 2021
-
-
Pavel Labath authored
and probably other posix oses. Use extra_images to ensure LD_LIBRARY_PATH is set correctly. Also take the opportunity to remove hand-rolled library extension management code in favor of the existing one.
-
Alexey Bataev authored
-
Pavel Labath authored
The test uses debug info from one binary to debug a different one. This does not work on macos, and its pure luck that it works elsewhere (the variable that it inspects happens to have the same address in both). The purpose of this test is to verify that lldb has not overwritten the target executable. That can be more easily achieved by checking the exit code of the binary, so change the test to do that. Also remove the llgs_test decorator, as it's preventing the test from running on macos. All the test needs is the platform functionality of lldb-server, which is available everywhere.
-
Michał Górny authored
-
Dmitry Preobrazhensky authored
Fixed bugs https://bugs.llvm.org//show_bug.cgi?id=49643, https://bugs.llvm.org//show_bug.cgi?id=49644, https://bugs.llvm.org//show_bug.cgi?id=49645. Differential Revision: https://reviews.llvm.org/D99413
-
Simon Pilgrim authored
For slow-hop targets, attempt to merge HADD/SUB pairs used in chains.
-
Simon Pilgrim authored
Attempt to bypass unused horiz-op operands. This is very similar to the PACKSS/PACKUS handling - we should try to merge these.
-
Simon Pilgrim authored
-
Dmitry Preobrazhensky authored
By convention, VOP1/2/C instructions which can be promoted to VOP3 have _e32 suffix while promoted instructions have _e64 suffix. Instructions which have a single variant should have no _e32/_e64 suffix. Unfortunately there was no simple way to identify single variant instructions - it was implemented by a hack. See bug https://bugs.llvm.org/show_bug.cgi?id=39086. This fix simplifies handling of single VOP instructions by adding a dedicated flag. Differential Revision: https://reviews.llvm.org/D99408
-
Florian Hahn authored
-
Balázs Kéri authored
Add printing of map 'DestroyRetVal'. Reviewed By: steakhal Differential Revision: https://reviews.llvm.org/D98502
-
David Sherwood authored
This patch just adds tests that we can vectorize loop such as these: for (i = 0; i < n; i++) dst[i * 7] += 1; and for (i = 0; i < n; i++) if (cond[i]) dst[i * 7] += 1; using scalable vectors, where we expect to use gathers and scatters in the vectorized loop. The vector of pointers used for the gather is identical to those used for the scatter so there should be no memory dependences. Tests are added here: Transforms/LoopVectorize/AArch64/sve-large-strides.ll Differential Revision: https://reviews.llvm.org/D99192 -
Vinayaka Bandishti authored
Fixes a bug in affine fusion pipeline where an incorrect slice is computed. After the slice computation is done, original domain of the the source is compared with the new domain that will result if the fusion succeeds. If the new domain must be a subset of the original domain for the slice to be valid. If the slice computed is incorrect, fusion based on such a slice is avoided. Relevant test cases are added/edited. Fixes https://bugs.llvm.org/show_bug.cgi?id=49203 Differential Revision: https://reviews.llvm.org/D98239
-
Muhammad Omair Javaid authored
This fixes flakiness in TestVSCode_launch.test_progress_events vscode.progress_events some times failed to populate in time for follow up iterations. Adding a minor delay before the the for the loop fixes the issue. Reviewed By: clayborg Differential Revision: https://reviews.llvm.org/D99497
-
Muhammad Omair Javaid authored
This reverts commit feb6f2c7.
-
Muhammad Omair Javaid authored
This reverts commit 71b648f7. There was a typo in the last commit which was causing LLDB AArch64 Linux buildbot testsuite failures. Now fixed in current version.
-
Yevgeny Rouban authored
Removes CFGAnalyses from the preserved analyses set returned by LoopFlattenPass::run(). Reviewed By: Dave Green, Ta-Wei Tu Differential Revision: https://reviews.llvm.org/D99700
-
Harald van Dijk authored
Currently, support for the x32 ABI is handled as a multilib to the x86_64 target only. However, full self-hosting x32 systems treating it as a separate architecture with its own architecture triplets as well as search paths exist as well, in Debian's x32 port and elsewhere. This adds the missing architecture triplets and search paths so that clang can work as a native compiler on x32, and updates the tests so that they pass when using an x32 libdir suffix. Additionally, we would previously also assume that objects from any x86_64-linux-gnu GCC installation could be used to target x32. This changes the logic so that only GCC installations that include x32 support are used when targetting x32, meaning x86_64-linux-gnux32 GCC installations, and x86_64-linux-gnu and i686-linux-gnu GCC installations that include x32 multilib support. Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D52050
-
Sam Parker authored
A frequent pattern for floating point conditional branches use an xor to invert the input for the branch. Instead we can fold away the xor by swapping the branch target instead. Differential Revision: https://reviews.llvm.org/D99171
-
Nicolas Vasilache authored
This revision tightens up the handling of attributes for both named and generic linalg ops. To demonstrate the IR validity, a working e2e Linalg example is added. Differential Revision: https://reviews.llvm.org/D99430
-
Pavel Labath authored
The addition of the dummy constructors requires matching changes in os- and arch-specific files, which I forgot about.
-
Pavel Labath authored
This fixes (works around) two errors with gcc-6.5. - in the RegisterContext_x86 files, gcc is unable to synthesize a default constructor -- it thinks it needs to initialize the virtual base class, even though said classes are abstract. I fix that by providing a dummy constructor. - In ReproducerInstrumentationTest, it is not able to deduce that the TestingRegistry class is movable (it contains a map of unique pointers). I change the type from Optional<TestingRegistry> to unique_ptr<TestingRegistry), so that moving is not required (copying/moving a polymorphic type is not a very good idea in any case).
-
Marek Kurdej authored
This will avoid typos like `_LIBCPP_STD_VERS` (<future>) or using `#if TEST_STD_VER > 17` without including "test_macros.h". Reviewed By: ldionne, #libc Differential Revision: https://reviews.llvm.org/D99515
-
Max Kazantsev authored
Some vars renamed by mistake during auto-replacements. Undoing them.
-
Max Kazantsev authored
Name GVN uses name 'LI' for two different unrelated things: LoadInst and LoopInfo. This patch relates the variables with former meaning into 'Load' to disambiguate the code.
-
Jonas Devlieghere authored
Remove the remaining references to LLDB_CAPTURE_REPRODUCER. I removed the functionality in an earlier commit but forgot that there was a corresponding test and logic to unset it in our test suite.
-
Jonas Devlieghere authored
Make sure we always terminate the debugger by using a RAII object. Differential revision: https://reviews.llvm.org/D99702
-
Jonas Devlieghere authored
Consistently use return with EXIT_SUCCESS or EXIT_FAILURE instead of mix-and-matching return, exit 0, 1 etc. Differential revision: https://reviews.llvm.org/D99701
-
Chen Zheng authored
Based on this debugger type, for now, we plan to: 1: use inline string by default for XCOFF DWARF 2: generate no column info for debug line table. Reviewed By: aprantl Differential Revision: https://reviews.llvm.org/D99400
-
Jonas Devlieghere authored
Remove the LLDB_CAPTURE_REPRODUCER as it is inherently dangerous. The reproducers require careful initialization which cannot be guaranteed by overwriting the reproducer mode at this level. If we want to provide this functionality, we should do it in the driver instead. It was originally added to enable capture in CI, but we now have a dedicated CI job that captures and replays the test suite.
-
Yang Fan authored
GCC warning: ``` /llvm-project/clang/lib/APINotes/APINotesYAMLCompiler.cpp:574:23: warning: ‘void {anonymous}::Module::dump()’ defined but not used [-Wunused-function] 574 | LLVM_DUMP_METHOD void Module::dump() { | ^~~~~~ ``` -
KAWASHIMA Takahiro authored
Before this change, the `llvm.access.group` metadata was dropped when moving a load instruction in GVN. This prevents vectorizing a C/C++ loop with `#pragma clang loop vectorize(assume_safety)`. This change propagates the metadata as well as other metadata if it is safe (the move-destination basic block and source basic block belong to the same loop). Differential Revision: https://reviews.llvm.org/D93503
-
KAWASHIMA Takahiro authored
-
qixingxue authored
This commit adjusts the order of two swappable if statements to make code cleaner. Reviewed By: lattner, nikic Differential Revision: https://reviews.llvm.org/D99648
-
Nick Desaulniers authored
This reverts commit 3cc3c0f8. Breaks non-linux platforms. https://reviews.llvm.org/D99556#2662706 Signed-off-by:
Nick Desaulniers <ndesaulniers@google.com>
-
Alexander Shaposhnikov authored
This diff is a preparation for fixing FunStabs (incorrect size calculation). std::map<uint32_t, InputSection*> (SubsectionMap) is replaced with a sorted vector + binary search. If .subsections_via_symbols is set this vector will contain the list of subsections, otherwise, the offsets will be used for calculating the symbols sizes. Test plan: make check-all Differential revision: https://reviews.llvm.org/D98837
-
Philip Reames authored
If we know we don't shift out bits (e.g. exact), all we need to know is that input is non-zero.
-
Philip Reames authored
-
Jian Cai authored
Clang currently only supports -Wa,--version when -no-integrated-as is used. This adds support to -Wa,--version with -integrated-as. Link: https://github.com/ClangBuiltLinux/linux/issues/1320 Reviewed By: nickdesaulniers, MaskRay Differential Revision: https://reviews.llvm.org/D99556
-
Philip Reames authored
-