- May 23, 2020
-
-
Michal Paszkowski authored
This reverts commit a0c7108b.
-
LLVM GN Syncbot authored
-
Michal Paszkowski authored
Summary: Added a new IRCanonicalizer pass which aims to transform LLVM modules into a canonical form by reordering and renaming instructions while preserving the same semantics. The canonicalizer makes it easier to spot semantic differences when diffing two modules which have undergone different passes. Presentation: https://www.youtube.com/watch?v=c9WMijSOEUg Reviewed by: plotfi Differential Revision: https://reviews.llvm.org/D66029
-
mydeveloperday authored
This was introduced with commit 54e91a3c
-
Nikita Popov authored
When performing codegen at optnone, don't add alias analysis to the pipeline. We don't need it, but it causes an unnecessary dominator tree calculation. I've also moved the module verifier call to the top so that a bunch of disabled-at-optnone passes group more nicely. Differential Revision: https://reviews.llvm.org/D80378
-
Craig Topper authored
If the caller needs to reponsible for making sure the MaybeAlign has a value, then we should just make the caller convert it to an Align with operator*. I explicitly deleted the relational comparison operators that were being inherited from Optional. It's unclear what the meaning of two MaybeAligns were one is defined and the other isn't should be. So make the caller reponsible for defining the behavior. I left the ==/!= operators from Optional. But now that exposed a weird quirk that ==/!= between Align and MaybeAlign required the MaybeAlign to be defined. But now we use the operator== from Optional that takes an Optional and the Value. Differential Revision: https://reviews.llvm.org/D80455
-
Fangrui Song authored
[MC] Drop unneeded std::abs for DW_def_cfa_offset in DarwinX86AsmBackend::generateCompactUnwindEncoding This clean-up is available after double negation bugs are fixed.
-
Fangrui Song authored
Negations are incorrectly added in numerous places and the code just happens to work. Also fix a missed DW_CFA_def_cfa_offset negation in c693b9c3: ARMAsmBackendDarwin::generateCompactUnwindEncoding
-
Craig Topper authored
[X86] Update some av512 shift intrinsics to use "unsigned int" parameter instead of int to match Intel documentation There are 65 that take a scalar shift amount. Intel documentation shows 60 of them taking unsigned int. There are 5 versions of srli_epi16 that use int, the 512-bit maskz and 128/256 mask/maskz. Fixes PR45931 Differential Revision: https://reviews.llvm.org/D80251
-
Fangrui Song authored
Negations are incorrectly added in two places and the code works just because the negations cancel each other.
-
Tony authored
- Change title to "DWARF Proposal For Heterogeneous Debugging".
-
Tony authored
- Change title to "DWARF For Heterogeneous Debugging". - Add "Examples" section that references the AMDGPUUsage DWARF section. - Make the "References" section a top level section. Differential Revision: https://reviews.llvm.org/D70523
-
Stephen Kelly authored
-
Stephen Kelly authored
-
Fangrui Song authored
The negative Offset has caused a bunch of problems and confused quite a few call sites. Delete the unneeded negation and fix all call sites.
-
Stephen Kelly authored
-
Stephen Kelly authored
-
Stephen Kelly authored
-
Adrian Prantl authored
-
Fangrui Song authored
The negative Offset has caused a bunch of problems and confused quite a few call sites. Delete the unneeded negation and fix all call sites.
-
Adrian Prantl authored
This patchs adds an optional warning that is printed when stopped at a frame that was compiled in a source language that LLDB has no plugin for. The motivational use-case is debugging Swift code on Linux. When the user accidentally invokes the system LLDB that was built without the Swift plugin, it is very much non-obvious why debugging doesnt work. This warning makes it easy to figure out what went wrong. <rdar://problem/56986569>
-
Stephen Neuendorffer authored
This reverts commit 78dea0e8. The offending lldb test (which is a real bug exposed by this patch) has been disabled on windows (see a67b2faa) and lldb is queued for inclusion into precommit testing, which would have caught this. Differential Revision: https://reviews.llvm.org/D80389
-
Stanislav Mekhanoshin authored
This prevents autogeneration of degenerate names for these. Differential Revision: https://reviews.llvm.org/D80451
-
Eric Christopher authored
covered switch warning.
-
Sanjay Patel authored
As noted in D80236, moving the pass in the pipeline exposed this shortcoming. Extra work to recalculate the alias results showed up as a compile-time slowdown.
-
Louis Dionne authored
The two functions don't throw, and the generated code is better when we explicitly tell the compiler that the functions are noexcept. This isn't an ABI break because the signatures of the functions stay the same with or without noexcept. Fixes https://llvm.org/PR46016 Differential Revision: https://reviews.llvm.org/D80379
-
Jonas Devlieghere authored
The generated binary (APITests.exe) is not a valid googletest binary. I suspect it has something to do with us linking against liblldb.
-
Jonas Devlieghere authored
-
Ahsan Saghir authored
This patch adds support for Vector Multiply-Sum Unsigned Doubleword Modulo instruction; vmsumudm. Differential Revision: https://reviews.llvm.org/D80294
-
Louis Dionne authored
The tests had copy-paste errors which started showing when an unused-variable warning started being emitted after we made the MoveOnly type constexpr (in a4b8ee64).
-
Jean-Michel Gorius authored
This temporarily reverts commit 7019cea2. It seems that, for some targets, there are instructions with a lot of memory operands (probably more than would be expected). This causes a lot of buildbots to timeout and notify failed builds. While investigations are ongoing to find out why this happens, revert the changes.
-
Raphael Isemann authored
This reverts commit 5f88f39a. It broke these three tests on the Window bot: lldb-api :: commands/expression/completion/TestExprCompletion.py lldb-api :: lang/cpp/scope/TestCppScope.py lldb-api :: lang/cpp/standards/cpp11/TestCPP11Standard.py
-
Louis Dionne authored
This is necessary when writing constexpr tests.
-
Kirstóf Umann authored
Revert "[analyzer] Change the default output type to PD_TEXT_MINIMAL in the frontend, error if an output loc is missing for PathDiagConsumers that need it" This reverts commit fe1a3a7e.
-
Florian Hahn authored
-
Joe Ranieri authored
This change adds common C, C++, and POSIX functions to the clang-tidy unused return value checker. Differential Revision: https://reviews.llvm.org/D76083
-
Jonas Devlieghere authored
These files haven't been touched since 2015. According to Pavel these were intended to be test for the test framework which never really took of and are mostly irrelevant by now. Differential revision: https://reviews.llvm.org/D80408
-
Sanjay Patel authored
There are 2 known problem patterns shown in the test diffs here: vector horizontal ops (an x86 specialization) and vector reductions. SLP has greater ability to match and fold those than vector-combine, so let SLP have first chance at that. This is a quick fix while we continue to improve vector-combine and possibly canonicalize to reduction intrinsics. In the longer term, we should improve matching of these patterns because if they were created in the "bad" forms shown here, then we would miss optimizing them. I'm not sure what is happening with alias analysis on the addsub test. The old pass manager now shows an extra line for that, and we see an improvement that comes from SLP vectorizing a store. I don't know what's missing with the new pass manager to make that happen. Strangely, I can't reproduce the behavior if I compile from C++ with clang and invoke the new PM with "-fexperimental-new-pass-manager". Differential Revision: https://reviews.llvm.org/D80236
-
Pengxuan Zheng authored
Summary: This fixes two llc crashes with the following tests when RISC-V is the default target. LLVM :: DebugInfo/Generic/global.ll LLVM :: DebugInfo/Generic/inlined-strings.ll Reviewers: HsiangKai Reviewed By: HsiangKai Subscribers: hiraditya, asb, rbar, johnrusso, simoncook, sabuasal, niosHD, kito-cheng, shiva0217, jrtc27, MaskRay, zzheng, edward-jones, rogfer01, MartinMosbeck, brucehoult, the_o, rkruppe, PkmX, jocewei, psnobl, benna, Jim, lenary, s.egerton, sameer.abuasal, apazos, luismarques, evandro, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D80352
-
Valeriy Savchenko authored
Summary: Tasks can crash with many different exceptions including SystemExit. Bare except still causes a warning, so let's use BaseException instead. Differential Revision: https://reviews.llvm.org/D80443
-