- May 30, 2020
-
-
Simon Pilgrim authored
PDBTypes.h holds most PDB forward declarations already, move IPDBSession in there as well.
-
Simon Pilgrim authored
-
David Zarzycki authored
On a busy and/or slow system, 100ms might not be long enough. Instead, we now use atomic variables to communicate between threads.
-
Mariya Podchishchaeva authored
Summary: Do not ask size of type if it is dependent. ASTContext doesn't seem expecting this. Reviewers: jdoerfert, ABataev, bader Reviewed By: ABataev Subscribers: yaxunl, guansong, ebevhan, Anastasia, sstefan1, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D80829
-
Simon Pilgrim authored
-
Jonas Devlieghere authored
A typo in the GLOB patter prevented us from detecting changes in the interface files and trigger SWIG to regenerate the bindings.
-
Craig Topper authored
-
Martin Storsjö authored
-
Martin Storsjö authored
[AArch64] Treat x18 as callee-saved in functions with windows calling convention on non-windows OSes Treat it as callee-saved, and always back it up. When windows code calls entry points in unix code, marked with the windows calling convention, that unix code can call other functions that isn't compiled with -ffixed-x18 which may clobber x18 freely. By backing it up and restoring it on return, we preserve the register across the function call, fulfilling this part of the windows calling convention on another OS. This isn't enough for making sure that x18 is preseved when non-windows code does a callback to windows code, but is a clear improvement over the current status quo. Additionally, wine is nowadays building many modules as PE DLLs, which avoids the callback issue altogether for those DLLs. Differential Revision: https://reviews.llvm.org/D61892
-
Jonas Devlieghere authored
Commit 0800529f adds a runtime error which triggers when using SBAddress properties that use the current process/target from a non-interactive session. TestThreadPlanCommands.py was doing exactly this and this patch fixes that by use GetLoadAddress instead.
-
Sourabh Singh Tomar authored
This patch adds support for emission of following DWARFv5 macro forms in .debug_macro.dwo section: - DW_MACRO_start_file - DW_MACRO_end_file - DW_MACRO_define_strx - DW_MACRO_undef_strx Reviewed By: dblaikie Differential Revision: https://reviews.llvm.org/D78866
-
Jonas Devlieghere authored
Several SBAddress properties use the lldb.target or lldb.process convenience variables which are only set under the interactive script interpreter. Unfortunately, users have been using these properties in Python script and commands. This patch raises a Python exception to force users to use GetLoadAddress instead. Differential revision: https://reviews.llvm.org/D80848
-
Mehdi Amini authored
Cleanup / Fix a clang-tidy warning
-
Eric Christopher authored
Pull O1 pass pipeline out into a separate function and simplify buildFunctionSimplificationPipeline accordingly.
-
Eric Christopher authored
Last we looked at this and couldn't come up with a reason to change it, but with a pragma for full loop unrolling we bypass every other loop unroll and then fail to fully unroll a loop when the pragma is set. Move the OnlyWhenForced out of the check and into the initialization of the full unroll pass in the new pass manager. This doesn't show up with the old pass manager. Add a new option to opt so that we can turn off loop unrolling manually since this is a difference between clang and opt. Tested with check-clang and check-llvm.
-
Fangrui Song authored
Many check-clang-codegen tests failed.
-
Carl Ritson authored
Summary: Replace an assertion that blocks S1024 SGPR to VGPR spill. The assertion pre-dates S1024 and is not wave size dependent. Reviewers: arsenm, sameerds, rampitec Reviewed By: arsenm Subscribers: qcolombet, kzhuravl, jvesely, wdng, nhaehnle, yaxunl, dstuttard, tpr, t-tye, hiraditya, kerbowa, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D80783
-
Matt Arsenault authored
This is a custom inserter because it was less work than teaching tablegen a way to indicate that it is sometimes OK to have a no side effect instruction in the output of a side effecting pattern. The asm is needed to look like a read of the mode register to prevent it from being deleted. However, there seems to be a bug where the mode register def instructions are moved across the asm sideeffect by the post-RA scheduler. Another oddity is the immediate is formatted differently between s_denorm_mode and s_round_mode.
-
Matt Arsenault authored
Most of these should be identical and use a common prefix, but update_llc_test_checks is failing to generate shared checks for some reason.
-
Matt Arsenault authored
-
Christopher Tetreault authored
Reviewers: efriedma, david-arm, fpetrogalli, arsenm Reviewed By: david-arm Subscribers: arsenm, kzhuravl, jvesely, wdng, nhaehnle, yaxunl, dstuttard, tpr, t-tye, tschuett, hiraditya, rkruppe, psnobl, kerbowa, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D80328
-
Jared Wyles authored
Summary: Adding in our first relocation type, and all the required plumbing to support the rest in following patches Differential Revision: https://reviews.llvm.org/D80613 Reviewer: lhames
-
Christopher Tetreault authored
Reviewers: efriedma, tejohnson, sdesmalen, c-rhodes Reviewed By: efriedma Subscribers: tschuett, hiraditya, rkruppe, psnobl, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D80326
-
LLVM GN Syncbot authored
-
LLVM GN Syncbot authored
-
Tony authored
Differential Revision: https://reviews.llvm.org/D80407
-
Nico Weber authored
-
Tim Keith authored
Summary: Some Symbol-related functions used in Evaluate were moved to Evaluate/tools.h. This includes changing some member functions that were replaced by non-member functions `IsDummy`, `GetUsedModule`, and `CountLenParameters`. Some member functions were made inline in `Scope`, `Symbol`, `ArraySpec`, and `DeclTypeSpec`. The definitions were preceded by a comment explaining why they are inline. `IsConstantShape` was expanded inline in `IsDescriptor` because it isn't used anywhere else After this change, at least when compiling with clang on macos, `libFortranEvaluate.a` has no undefined symbols that are satisfied by `libFortranSemantics.a`. Reviewers: klausler, PeteSteinfeld, sscalpone, jdoerfert, DavidTruby Reviewed By: PeteSteinfeld Subscribers: llvm-commits Tags: #flang, #llvm Differential Revision: https://reviews.llvm.org/D80762
-
Thomas Raoux authored
Address code review feedback and use declarative assembly format. Differential Revision: https://reviews.llvm.org/D80687
-
Louis Dionne authored
The Standard is currently unimplementable. We have to pick between: 1. Not implementing constexpr support properly in std::array<T, 0> 2. Making std::array<T, 0> non-trivial even when T is trivial 3. Returning nullptr from std::array<T, 0>::begin() Libc++ initially picked (1). In 77b9abfc, we started implementing constexpr properly, but lost the guarantee of triviality. Since it seems like both (1) and (2) are really important, it seems like (3) is the only viable option for libc++, after all. This is also what other implementations are doing. This patch moves libc++ from (1) to (3). It also: - Improves the test coverage for the various ways of initializing std::array - Adds tests for the triviality of std::array - Adds tests for the aggregate-ness of std::array Reviewed By: #libc, miscco, EricWF, zoecarver Differential Revision: https://reviews.llvm.org/D80821
-
Volodymyr Sapsai authored
Not sure about other platforms but `install-xcode-toolchain` was already including diagtool in the toolchain. This change makes it possible to install diagtool during Apple's 2-stage build. Instead of dropping `if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY)` conditional I've switched to `add_clang_tool` which handles install targets. Also a few other clang tools like clang-format, clang-scan-deps are using this macro, so it is good to be consistent. rdar://problem/15386909 Reviewed By: JDevlieghere Differential Revision: https://reviews.llvm.org/D80770
-
Christopher Tetreault authored
Reviewers: efriedma, sdesmalen, c-rhodes, craig.topper Reviewed By: craig.topper Subscribers: tschuett, hiraditya, rkruppe, psnobl, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D80331
-
Adrian Herrera authored
Summary: The description of the fuzzer merge control file appears to be incorrect/out of date. No "DONE" line appears in the control file. Rather, FT and COV are the markers that appear following the STARTED line. Reviewers: metzman, kcc Reviewed By: kcc Subscribers: #sanitizers Tags: #sanitizers Differential Revision: https://reviews.llvm.org/D80788
-
Nicolas Vasilache authored
Summary: MSVC does not seem to like certain forward declarations. https://reviews.llvm.org/D80728 introduces an error where seemingly unrelated .cpp files that include the .h (but do not otherwise use the class that depends on the forward declaration). Instead of forward declaration, include the full vector ops definition. Subscribers: mehdi_amini, rriddle, jpienaar, shauheen, antiagainst, arpith-jacob, mgester, lucyrfox, aartbik, liufengdb, stephenneuendorffer, Joonsoo, grosul1, frgossen, Kayjukh, jurahul, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D80841
-
Christopher Tetreault authored
Reviewers: efriedma, aymanmus, c-rhodes, david-arm Reviewed By: david-arm Subscribers: tschuett, hiraditya, rkruppe, psnobl, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D80332
-
Christopher Tetreault authored
Reviewers: efriedma, c-rhodes, david-arm, mcrosier, t.p.northover Reviewed By: efriedma Subscribers: tschuett, kristof.beyls, hiraditya, rkruppe, psnobl, danielkiss, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D80327
-
Valery N Dmitriev authored
relevant aggregate build instructions only (UserCost). Users are detected with findBuildAggregate routine and the trick is that following SLP vectorization may end up vectorizing entire list with smaller chunks. Cost adjustment then is applied for individual chunks and these adjustments obviously have to be smaller than the entire aggregate build cost. Differential Revision: https://reviews.llvm.org/D80773
-
Nicolas Vasilache authored
Address post-commit review of https://reviews.llvm.org/D79518
-
Christopher Tetreault authored
Reviewers: efriedma, david-arm, fpetrogalli, spatel Reviewed By: david-arm Subscribers: tschuett, hiraditya, rkruppe, psnobl, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D80334
-
Eric Schweitz authored
structure for upstreaming to llvm-project. These files have had many changes since they were originally upstreamed. Some of the changes are cosmetic. Most of the functional changes were done to support the lowering of control-flow syntax from the front-end parse trees to the FIR dialect. This patch is meant to be a reviewable size. The functionality it provides will be used by code yet to be upstreamed in lowering. review comments: [review D80449][NFC] make PFT ParentVariant a ReferenceVariant ReferenceVariant had to be slightly updated to also support non constant references (which is required for ParentType). [review D80449] extend Variable implementation beyond a comment
-