- Jan 31, 2020
-
-
Danilo Carvalho Grael authored
Summary: Add intrinsics for the MLA unpredicated sve2 instructions: - smlalb, smlalt, umlalb, umlalt, smlslb, smlslt, umlslb, umlslt - sqdmlalb, sqdmlalt, sqdmlslb, sqdmlslt - sqdmlalbt, sqdmlslbt Reviewers: efriedma, sdesmalen, cameron.mcinally, c-rhodes, rengolin, kmclaughlin Subscribers: tschuett, kristof.beyls, hiraditya, rkruppe, psnobl, llvm-commits, amehsan Tags: #llvm Differential Revision: https://reviews.llvm.org/D73746
-
Guillaume Chatelet authored
Summary: This is a first step before changing the types to llvm::Align and introduce functions to ease client code. Reviewers: courbet Subscribers: arsenm, sdardis, nemanjai, jvesely, nhaehnle, hiraditya, kbarton, jrtc27, atanasyan, jsji, kerbowa, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D73785
-
Jan Kratochvil authored
Reduce code indentation level.
-
Matt Arsenault authored
-
Jan Kratochvil authored
Reverting part of commit 789beeec. Its DWARFDebugInfoEntry::GetDWARFDeclContext() refactorization for return value is now adding it in opposite order.
-
Matt Arsenault authored
Try out using combine definition rules. This really should be a post-legalizer combine, but the combiner pass is currently pre-legalize. Most of the target combines are really post-legalize, so we should probably move the pass.
-
Sanjay Patel authored
We may calculate reassociable math ops in arbitrary order when creating a shuffle reduction, so there's no guarantee that things like 'nsw' hold on those intermediate values. Drop all poison-generating flags for safety. This change is limited to shuffle reductions because I don't think we have a problem in the general case (where we intersect flags of each scalar op that goes into a vector op), but if there's evidence of other cases being wrong, we can extend this fix to cover those cases. https://bugs.llvm.org/show_bug.cgi?id=44536 Differential Revision: https://reviews.llvm.org/D73727
-
Pavel Labath authored
-
Pavel Labath authored
These classes are not used.
-
Lei Zhang authored
This commit adds a pattern to lower linalg.generic for reduction to spv.GroupNonUniform* ops. Right now this only supports integer reduction on 1-D input memref. Shader entry point ABI is queried to make sure that the input memref's shape matches the local workgroup's invocation configuration. This makes sure that the workload fits in one local workgroup so that we can leverage SPIR-V group non-uniform operations. linglg.generic is a structured op that preserves the right level of information. It is easier to recognize reduction at this level than performing analysis on loops. This commit also exposes `getElementPtr` in SPIRVLowering.h given that it's a generally useful utility function. Differential Revision: https://reviews.llvm.org/D73437
-
Jonathan Coe authored
Summary: Fix spaces around typename and [] in C# object initializers. Reviewers: MyDeveloperDay, klimek, krasimir Reviewed By: MyDeveloperDay, krasimir Subscribers: cfe-commits Tags: #clang-format, #clang Differential Revision: https://reviews.llvm.org/D72401
-
Jan Kratochvil authored
This patchset is removing non-DWARF code from DWARFUnit for better future merge with LLVM DWARF as discussed with @labath. Differential revision: https://reviews.llvm.org/D70646
-
Matt Arsenault authored
-
Kadir Cetinkaya authored
Summary: Default args might exist but be unparsed or uninstantiated. getDefaultArg asserts on those. This patch makes sure we don't crash in such scenarios. Reviewers: sammccall, ilya-biryukov Subscribers: MaskRay, jkorous, arphaman, usaxena95, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D73723
-
Matt Arsenault authored
This reverts commit 6a4acb9d.
-
Saar Raz authored
[Concepts] Correctly form initial parameter mapping for parameter packs, support substitution into SubstNonTypeTemplateParmExpr We previously would not correctly for the initial parameter mapping for variadic template parameters in Concepts. Testing this lead to the discovery that with the normalization process we would need to substitute into already-substituted-into template arguments, which means we need to add NonTypeTemplateParmExpr support to TemplateInstantiator. We do that by substituting into the replacement and the type separately, and then re-checking the expression against the NTTP with the new type, in order to form any new required implicit casts (for cases where the type of the NTTP was dependent).
-
Kamil Rytarowski authored
Fix build on >= 9.99.44 after the removal of urio(4). Add compat code for the device as NetBSD-9.0 is supported.
-
Jay Foad authored
-
Pavel Labath authored
- m_debug_loc(lists) are unused since the relevant logic was moved to DWARFContext. - const versions of DebugInfo(), DebugAbbrev() are not used, and they are dangerous to use as they do not initialize the relevant objects.
-
serge-sans-paille authored
First attempt at implementing -fsemantic-interposition. Rely on GlobalValue::isInterposable that already captures most of the expected behavior. Rely on a ModuleFlag to state whether we should respect SemanticInterposition or not. The default remains no. So this should be a no-op if -fsemantic-interposition isn't used, and if it is, isInterposable being already used in most optimisation, they should honor it properly. Note that it only impacts architecture compiled with -fPIC and no pie. Differential Revision: https://reviews.llvm.org/D72829
-
Sjoerd Meijer authored
Disassembly of instructions can fail when llvm-objdump is not given the right set of architecture features, for example when the source is compiled with: clang -march=..+ext1+ext2 and disassembly is attempted with: llvm-objdump -mattr=+ext1 This patch avoids further analysing unknown instructions (as was happening before) when disassembly has failed. Differential Revision: https://reviews.llvm.org/D73531
-
Raphael Isemann authored
This automatically does the type checking for the cast.
-
Raphael Isemann authored
A ClangASTSource always has a ClangASTImporter. Let's remove these sporadic checks with a single assert during construction. They were added originally for the modern-type-lookup mode that didn't use a ClangASTImporter in there.
-
Raphael Isemann authored
We only assign values to this member but never read it. Also the type in there has no side effects so let's just remove it.
-
Kerry McLaughlin authored
Summary: Implements the following intrinsics: - @llvm.aarch64.sve.[s|u]qadd - @llvm.aarch64.sve.[s|u]qsub - @llvm.aarch64.sve.suqadd - @llvm.aarch64.sve.usqadd - @llvm.aarch64.sve.[s|u]qsubr - @llvm.aarch64.sve.[s|u]rshl - @llvm.aarch64.sve.[s|u]qshl - @llvm.aarch64.sve.[s|u]qrshl - @llvm.aarch64.sve.[s|u]rshr - @llvm.aarch64.sve.sqshlu - @llvm.aarch64.sve.sri - @llvm.aarch64.sve.sli - @llvm.aarch64.sve.[s|u]sra - @llvm.aarch64.sve.[s|u]rsra - @llvm.aarch64.sve.[s|u]aba Reviewers: efriedma, sdesmalen, dancgr, cameron.mcinally, c-rhodes, rengolin Reviewed By: sdesmalen Subscribers: tschuett, kristof.beyls, hiraditya, rkruppe, psnobl, cfe-commits, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D73551
-
Marek Kurdej authored
Fixed expected errors and notes. Summary: This patch implements https://wg21.link/P0325. Reviewers: EricWF, mclow.lists, ldionne, lichray Reviewed By: ldionne, lichray Subscribers: lichray, dexonsmith, zoecarver, christof, ldionne, libcxx-commits Tags: #libc Differential Revision: https://reviews.llvm.org/D69882
-
Sam Parker authored
-
Georgii Rymar authored
Currently when we dump dynamic relocation with use of DT_RELA/DT_RELASZ/DT_RELAENT tags, we crash when a symbol index is larger than the number of dynamic symbols or when there is no dynamic symbol table. This patch adds test cases and fixes the issues. Differential revision: https://reviews.llvm.org/D73560
-
Stephan Herhut authored
Summary: The current code assumes that one always maps at least one loop to block dimensions and at least one loop to thread dimensions. If either is not the case, a loop would get mapped twice. Differential Revision: https://reviews.llvm.org/D73685
-
Georgii Rymar authored
We have the `ELF\sections.test` to test --sections. `ELF\sections.test` uses precompiled objects, it has a bug (does not test -s alias properly). Also, we test machine specific section types in `ELF\machine-specific-section-types.test`, so we probably do not need to test `--sections` for a MIPS object in `ELF\sections.test`. I think it is enough to test ELF32 and ELF64 (we do not test ELF64 in this test). `Object/readobj-shared-object.test` also tests how llvm-readobj handles `--sections`. It is location is wrong, it is not complete, it uses precompiled binaries and it duplicates the `ELF\sections.test` partially (it tests both ELF32 and ELF64). We have `ELF\readelf-s-alias.test` that tests the `-s` alias for `--sections` in llvm-readobj and `-s` as an alias for `--symbols` in llvm-readelf. There is no need to have a separate test for such things. The test for the `-s` alias for `--sections` can be included into the `ELF\sections.test`. And the test for `-s` for llvm-readelf is already included into `ELF\symbols.test`. So, this patch: 1) Removes `Object/readobj-shared-object.test`. 2) Removes `ELF\readelf-s-alias.test` 3) Rewrites the `ELF\sections.test`. 4) Removes ELF/Inputs/trivial.obj.elf-mipsel. Differential revision: https://reviews.llvm.org/D73686
-
Markus Böck authored
This patch wraps an external thread local storage variable inside of a getter function and makes it have internal linkage. This allows LLVM to be built with BUILD_SHARED_LIBS on windows with MinGW. Additionally it allows Clang versions prior to 10 to compile current trunk for MinGW. Differential Revision: https://reviews.llvm.org/D73639
-
LLVM GN Syncbot authored
-
Raphael Isemann authored
Currently if 'expect' fails and a custom msg is supplied, then lldbtest will not print the actual command output. This makes it impossible to know why the test actually failed. This just prints the command output even if the msg parameter was supplied.
-
Guillaume Chatelet authored
Summary: This patch adds a few low level functions needed to build libc memory functions. Reviewers: sivachandra, jfb Subscribers: mgorny, MaskRay, tschuett, libc-commits, ckennelly Tags: #libc-project Differential Revision: https://reviews.llvm.org/D73472
-
Igor Kudrin authored
Differential Revision: https://reviews.llvm.org/D72900
-
Marek Kurdej authored
This reverts commit 86aae782. A test is failing on "Release" build without assertions enabled (Fedora 31 on x86_64).
-
Raphael Isemann authored
This adds a conversion function from clang::Decl to CompilerDecl. It checks that the TypeSystemClang in the CompilerDecl actually fits to the clang::Decl AST during creation, thus preventing the creation of CompilerDecl instances with inconsistent state.
-
Raphael Isemann authored
-
Sebastian Neubauer authored
Summary: Fix typo Subscribers: jvesely, nhaehnle, kerbowa, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D73458
-
Tim Shen authored
The refactored MemRefType::get() calls all intend to clone from another memref type, with some modifications. In fact, some calls dropped memory space during the cloning. Migrate them to the cloning API so that nothing gets dropped if they are not explicitly listed. It's close to NFC but not quite, as it helps with propagating memory spaces in some places. Differential Revision: https://reviews.llvm.org/D73296
-