- Mar 04, 2020
-
-
Stefan Stipanovic authored
This reverts commit 9989b859.
-
Stefan Stipanovic authored
This reverts commit 3270ea90.
-
Stefan Stipanovic authored
Summary: Attempt to add more attributes for runtime calls. Reviewers: jdoerfertA, ggeorgakoudis, lebedev.ri, dreachem Subscribers:
-
Jonas Devlieghere authored
Haibo told me he didn't have any issues with Python 3.8 and I was able to confirm that. Even though we don't have bot running with 3.8, I think it safe to mark it as supported in the docs.
-
Alexey Bataev authored
Added basic support (parsing/sema/serialization) for 'update' clause in 'depobj' directive.
-
Raphael Isemann authored
Summary: I don't see why we want to keep that code around. Reviewers: #lldb, JDevlieghere Reviewed By: #lldb, JDevlieghere Subscribers: davide Differential Revision: https://reviews.llvm.org/D75496
-
Craig Topper authored
[X86] Always emit an integer vbroadcast_load from lowerBuildVectorAsBroadcast regardless of AVX vs AVX2 If we go with D75412, we no longer depend on the scalar type directly. So we don't need to avoid using i64. We already have AVX1 fallback patterns with i32 and i64 scalar types so we don't need to avoid using integer types on AVX1. Differential Revision: https://reviews.llvm.org/D75413
-
Craig Topper authored
Also add a DAG combine to combine different sized broadcasts from constant pool to avoid a regression. Differential Revision: https://reviews.llvm.org/D75412
-
LLVM GN Syncbot authored
-
Whitney Tsang authored
Summary: This patch adds an analysis pass to collect loop nests and summarize properties of the nest (e.g the nest depth, whether the nest is perfect, what's the innermost loop, etc...). The motivation for this patch was discussed at the latest meeting of the LLVM loop group (https://ibm.box.com/v/llvm-loop-nest-analysis) where we discussed the unimodular loop transformation framework ( “A Loop Transformation Theory and an Algorithm to Maximize Parallelism”, Michael E. Wolf and Monica S. Lam, IEEE TPDS, October 1991). The unimodular framework provides a convenient way to unify legality checking and code generation for several loop nest transformations (e.g. loop reversal, loop interchange, loop skewing) and their compositions. Given that the unimodular framework is applicable to perfect loop nests this is one property of interest we expose in this analysis. Several other utility functions are also provided. In the future other properties of interest can be added in a centralized place. Authored By: etiotto Reviewer: Meinersbur, bmahjour, kbarton, Whitney, dmgreen, fhahn, reames, hfinkel, jdoerfert, ppc-slack Reviewed By: Meinersbur Subscribers: bryanpkc, ppc-slack, mgorny, hiraditya, llvm-commits Tag: LLVM Differential Revision: https://reviews.llvm.org/D68789
-
Jon Chesterfield authored
-
Fangrui Song authored
-
Craig Topper authored
-
Justin Bogner authored
This was accidentally removed as part of 7683a084 "Remove lit feature object-emission" 7683a084 Remove lit feature object-emission
-
Jonathan Coe authored
Summary: Keep track of unpaired [] when identifying C# attribute lines Reviewers: krasimir Reviewed By: krasimir Subscribers: cfe-commits Tags: #clang-format, #clang Differential Revision: https://reviews.llvm.org/D75455
-
Lang Hames authored
-
Lang Hames authored
-
Alex Zinenko authored
Summary: Introduce support for converting loop.for operations with loop-carried values to a CFG in the standard dialect. This is achieved by passing loop-carried values as block arguments to the loop condition block. This block dominates both the loop body and the block immediately following the loop, so the arguments of this block are remain visible there. Differential Revision: https://reviews.llvm.org/D75513
-
Sterling Augustine authored
Promote nameless lambda used by dl_iterate_phdr to named function to clean up control flow inside findUnwindSections. Also, expose the data structure to allow use by a future replacment function. Summary: [Refactor] Promote nameless lambda to fully named function, allowing easy replacement in following patch. Subscribers: krytarowski, libcxx-commits Tags: #libc Differential Revision: https://reviews.llvm.org/D75480
-
Fangrui Song authored
``` // clang -c -gdwarf-5 a.s -o a.o .section .init; ret .text; ret ``` .debug_info contains DW_AT_ranges and llvm-dwarfdump will report a verification error because .debug_rnglists does not exist (not implemented). This patch generates .debug_rnglists for assembly files. emitListsTableHeaderStart() in DwarfDebug.cpp can be shared with MCDwarf.cpp. Because CodeGen depends on MC, I move the function to MCDwarf.cpp Reviewed By: probinson Differential Revision: https://reviews.llvm.org/D75375
-
Tyker authored
-
Joerg Sonnenberger authored
-
Nathan James authored
Summary: Modifies all checks that are language version dependent to use `isLanguageVersionSupported` Reviewers: jdoerfert, lebedev.ri, aaron.ballman, gribozavr2, Eugene.Zelenko Reviewed By: gribozavr2 Subscribers: wuzish, nemanjai, xazax.hun, hiraditya, kbarton, steven_wu, dexonsmith, arphaman, lebedev.ri, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D75340
-
Pierre-vh authored
Differential Revision: https://reviews.llvm.org/D75339
-
Craig Topper authored
[DAGCombiner][X86] Improve narrowExtractedVectorLoad to handle cases where the element size isn't byte sized by the subvector is. Summary: Follow up from D75377. If the subvector is byte sized and the index is aligned to the subvector size, we can shrink the load. Reviewers: spatel, RKSimon Reviewed By: RKSimon Subscribers: dbabokin, hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D75434
-
Craig Topper authored
The build_vector needs to be the only user of the data, but the chain will likely have another use. So we can't make sure the build_vector is the only user of the node.
-
Chris Bowler authored
The expected output is erroneous and will be corrected alongside a fix to ensure stack arguments are widened to register width before writing to the parameter save area.
-
Chris Bowler authored
-
Alex Zinenko authored
MLIR ExecutionEngine and derived tools (e.g., mlir-cpu-runner) would trigger an assertion inside ORC JIT while ExecutionEngine is being destructed after a failed linking due to a missing function definition. The reason for this is the JIT lookup that may return an Error referring to strings stored internally by the JIT. If the Error outlives the ExecutionEngine, it would want have a dangling reference, which is currently caught by an assertion inside JIT thanks to hand-rolled reference counting. Rewrap the error message into a string before returning. Differential Revision: https://reviews.llvm.org/D75508
-
Alex Zinenko authored
Some attribute kinds are not supported as "value" attributes of `llvm.mlir.constant` when translating to LLVM IR. We were correctly reporting an error, but continuing the translation using an "undef" value instead, leading to a surprising mix of error messages and output IR. Abort the translation after the error is reported. Differential Revision: https://reviews.llvm.org/D75450
-
- Mar 03, 2020
-
-
LLVM GN Syncbot authored
-
Jonas Paulsson authored
On SystemZ there are a set of "access registers" that can be copied in and out of 32-bit GPRs with special instructions. These instructions can only perform the copy using low 32-bit parts of the 64-bit GPRs. However, the default register class for 32-bit integers is GRX32, which also contains the high 32-bit part registers. In order to never end up with a case of such a COPY into a high reg, this patch adds a new simple pre-RA pass that selects such COPYs into target instructions. This pass also handles COPYs from CC (Condition Code register), and COPYs to CC can now also be emitted from a high reg in copyPhysReg(). Fixes: https://bugs.llvm.org/show_bug.cgi?id=44254 Review: Ulrich Weigand. Differential Revision: https://reviews.llvm.org/D75014
-
Pavel Labath authored
While we have some tests for this command already, they are very vague. This is not surprising -- it's hard to make strict assertions about the assembly if your input is a c++ source file. This means that the tests can more-or-less only detect when the command breaks completely, and not when there is a subtle change in meaning due to e.g. a code refactor -- which is something that I am getting ready to do. This tests in this patch create binaries with well known data (via assembler and yaml2obj). This means that we are able to make precise assertions about the text that lldb is supposed to print. As some of the features of this command are only available with a real process, I use a minidump core file to create a sufficiently realistic process object.
-
Francesco Petrogalli authored
Summary: The argument that sets the prefetch type of a prefetch intrinsic must be an immediate value. Reviewers: andwar, sdesmalen, efriedma Subscribers: tschuett, hiraditya, rkruppe, psnobl, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D75482
-
Sam Parker authored
Use MIOperand in collectLocalKilledOperands to make the search global, as we already have to search for global uses too. This allows us to delete more dead code when tail predicating. Differential Revision: https://reviews.llvm.org/D75167
-
Sam McCall authored
This prepares for propagating versions through the server so diagnostics etc can be versioned.
-
Sam Parker authored
In RDA, check against the already decided dead instructions when looking at users. This allows an instruction to be removed if it has multiple users, but they're all dead. This means that IT instructions can be considered killed once all the itstate using instructions are dead. Differential Revision: https://reviews.llvm.org/D75245
-
diggerlin authored
[AIX][XCOFF] Fix XCOFFObjectWriter assertion failure with alignment-related gap and improve text section output testing SUMMARY: 1.if there is a gap between the end virtual address of one section and the beginning virtual address of the next section, the XCOFFObjectWriter.cpp will hit a assert. 2.as discussed in the patch https://reviews.llvm.org/D66969, since implemented the function description. We can output the raw object data for function. we need to create a test for raw text section content and test section header for xcoff object file. Reviewer: daltenty,hubert.reinterpretcast,jasonliu Differential Revision: https://reviews.llvm.org/D71845
-
Sid Manning authored
Pickup the default crt and libs when the target is musl. Resubmitting after updating the testcase. Differential Revision: https://reviews.llvm.org/D75139
-
Alexander Belyaev authored
Differential Revision: https://reviews.llvm.org/D75206
-