This project is mirrored from https://github.com/llvm/llvm-project.git.
Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer or owner.
Last successful update .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer or owner.
Last successful update .
- Apr 08, 2022
-
-
Mark de Wever authored
The code accidentally uses a hard-coded value. Use a constant to make sure the same value is used at both places.
-
Zixu Wang authored
Objective-C methods selector parts should be considered as identifiers. Depends on D123259 Differential Revision: https://reviews.llvm.org/D123261
-
Arthur Eubanks authored
Ephemeral values cannot cause a pointer to escape. No change in compile time: https://llvm-compile-time-tracker.com/compare.php?from=4371710085ba1c376a094948b806ddd3b88319de&to=c5ddbcc4866f38026737762ee8d7b9b00395d4f4&stat=instructions This partially fixes some regressions caused by more calls to `__builtin_assume` (D122397). Reviewed By: asbirlea Differential Revision: https://reviews.llvm.org/D123162
-
Simon Pilgrim authored
Test coverage for Issue #20126
-
Karl Meakin authored
Reviewed By: Kmeakin Differential Revision: https://reviews.llvm.org/D123317
-
Lei Zhang authored
This case is handled in neither the folding or canonicalization patterns. The folding pattern cannot generate new broadcast ops, so it should be handled by the canonicalization pattern. Reviewed By: ThomasRaoux Differential Revision: https://reviews.llvm.org/D123307
-
Daniel Grumberg authored
We should only process APIs declared in the command line inputs to avoid drowning the ExtractAPI output with symbols the user doesn't care about. This is achieved by keeping track of the provided input files and checking that the associated Decl or Macro is declared in one of those files. Differential Revision: https://reviews.llvm.org/D123148
-
Augie Fackler authored
This lines up with other parts of the codebase that only use special knowledge about allocator functions if they're builtins. Differential Revision: https://reviews.llvm.org/D123053
-
Augie Fackler authored
This is part of being able to get rid of two more columns in MemoryBuiltins.cpp's large table. We'll have two more changes before we can finish the job. Differential Revision: https://reviews.llvm.org/D119582
-
Augie Fackler authored
Sometimes we can infer an align from an allocalign but the function already promised it'd be more-aligned than the allocalign and there's an existing align that we shouldn't reduce. Make sure we handle that correctly. Differential Revision: https://reviews.llvm.org/D121642
-
Augie Fackler authored
This got changed to use hasAttrSomewhere() during review, and I didn't notice until today when I was writing some tests for another part of this system that using hasAttrSomewhere only checked the callsite for allocalign, rather than both the callsite and the definition. This fixes that by introducing a helper method. Differential Revision: https://reviews.llvm.org/D121641
-
Augie Fackler authored
This exposes a couple of lingering bugs, which will be fixed in the next two commits. Differential Revision: https://reviews.llvm.org/D123052
-
Fangrui Song authored
-
chenglin.bi authored
Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D123224
-
Craig Topper authored
This patch synchronizes the structure of the templates with those in RISCVInstrInfoVVLPatterns.td so that we get patterns with .vx on the left hand side. Reviewed By: rogfer01 Differential Revision: https://reviews.llvm.org/D123255
-
Zixu Wang authored
There is a bug in `DeclarationFragments::appendSpace` where the space character is added to a local copy of the last fragment. Differential Revision: https://reviews.llvm.org/D123259
-
Craig Topper authored
This matches VPatIntegerSetCCVL_VI_Swappable. But as noted in the FIXME this may only be needed due to lack of canonicalization on VP_SETCC. Reviewed By: rogfer01 Differential Revision: https://reviews.llvm.org/D123239
-
Paul Walker authored
-
Siva Chandra Reddy authored
This change is essentially a mechanical change which moves the thread creation and join implementations from src/threads/linux to src/__support/threads/linux/thread.h. The idea being that, in future, a pthread implementation can reuse the common thread implementations in src/__support/threads. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D123287
-
Arthur Eubanks authored
Introduce _LIBCPP_ASSERTIONS_DISABLE_ASSUME which makes _LIBCPP_ASSERT not call __builtin_assume when _LIBCPP_ENABLE_ASSERTIONS == 0. Calling __builtin_assume was introduced in D122397. __builtin_assume is generally supposed to improve optimizations, but can cause regressions when LLVM has trouble handling the calls to `llvm.assume()` (see comments in D122397). Reviewed By: philnik Differential Revision: https://reviews.llvm.org/D123175
-
- Apr 07, 2022
-
-
Changpeng Fang authored
Summary: If implicitarg_ptr intrinsic is not used, set implicit kernarg size to 0, otherwise set it to 256 bytes for code object version 5 (and beyond). Reviewers: arsenm Differential Revision: https://reviews.llvm.org/D123262
-
Simon Pilgrim authored
rGa3b8695bf592 enabled this for znver3, but AMD SoG, Agner and uops.info all agree that even znver1 has a fast per-lane shuffle op (VPSHUFB), but cross-lane shuffles seem to be slow (PERMPS etc.) Fixes #44140 Differential Revision: https://reviews.llvm.org/D123306
-
Sam McCall authored
- isValid: FileManager only ever returns valid FileEntries (see next point) - construction from outside FileManager (both FileEntry and DirectoryEntry). It's not possible to create a useful FileEntry this way, there are no setters. This was only used in FileEntryTest, added a friend to enable this. A real constructor is cleaner but requires larger changes to FileManager. Differential Revision: https://reviews.llvm.org/D123197
-
Alex Zinenko authored
In several cases, a doc is being generated from a .td file that includes files containing other dialects. Specify the dialect for which the documentation is being generated explicitly.
-
Nikita Popov authored
Fixes https://github.com/llvm/llvm-project/issues/51188.
-
Nikita Popov authored
Explicitly test the nounwind/willreturn combinations.
-
Simon Pilgrim authored
[InstCombine] SimplifyDemandedUseBits - allow and(srem(X,Pow2),C) -> and(X,C) to work on vector types Replace m_ConstantInt with m_APInt to match uniform (no-undef) vector remainder amounts.
-
Arjun P authored
Subtraction was previously implemented recursively. This refactors it to be non-recursive to avoid issues with potential stack overflows. Reviewed By: Groverkss Differential Revision: https://reviews.llvm.org/D123248
-
Louis Dionne authored
Differential Revision: https://reviews.llvm.org/D123081
-
Alexey Bataev authored
GCC 14 warns about these. Reviewed By: ABataev Differential Revision: https://reviews.llvm.org/D121047
-
Nico Weber authored
This reverts commit 2aca33ba. Broke tests on several bots, see comments on https://reviews.llvm.org/D120305
-
Dmitry Preobrazhensky authored
Added the following helpers: depctr_hold_cnt(...) depctr_sa_sdst(...) depctr_va_vdst(...) depctr_va_sdst(...) depctr_va_ssrc(...) depctr_va_vcc(...) depctr_vm_vsrc(...) Differential Revision: https://reviews.llvm.org/D123022
-
Simon Pilgrim authored
-
Ties Stuij authored
Reviewed By: RKSimon Differential Revision: https://reviews.llvm.org/D122577
-
Simon Pilgrim authored
[InstCombine] SimplifyDemandedUseBits - add TODO to remove shl node if we only demand known sign bits of the shift source Similar to what we already perform for ashr/lshr
-
Simon Pilgrim authored
This is a lshr equivalent to D122340 - if we don't demand any of the additional sign bits introduced by the ashr, the lshr can be treated as an ashr and we can remove the shift entirely if we only demand already known sign bits. Another step towards PR21929 https://alive2.llvm.org/ce/z/6f3kjq Differential Revision: https://reviews.llvm.org/D123118
-
LLVM GN Syncbot authored
-
Nikolas Klauser authored
Reviewed By: var-const, Mordante, ldionne, #libc Spies: tcanens, libcxx-commits, mgorny Differential Revision: https://reviews.llvm.org/D121523
-
Jez Ng authored
Our compact unwind handling code currently has some logic to locate a symbol at a given offset in an InputSection. The EH frame code will need to do something similar, so let's factor out the code. Reviewed By: #lld-macho, thakis Differential Revision: https://reviews.llvm.org/D123301
-
Simon Pilgrim authored
-