- Dec 17, 2020
-
-
Valentin Clement authored
Update the allowed clauses for the SERIAL construct for the new OpenACC 3.1 specification. Reviewed By: sameeranjoshi Differential Revision: https://reviews.llvm.org/D92123
-
Zequan Wu authored
Differential Revision: https://reviews.llvm.org/D92800
-
Simon Pilgrim authored
Avoid temp std::string instances - we're never keeping these around, just printing them to streams, converting to StringRef etc.
-
Florian Hahn authored
If the source instruction has !annotation metadata, all instructions created during combining should also have it. Tell the builder to add it. The !annotation system was discussed on llvm-dev as part of 'RFC: Combining Annotation Metadata and Remarks' (http://lists.llvm.org/pipermail/llvm-dev/2020-November/146393.html) This patch is based on an earlier patch by Francis Visoiu Mistrih. Reviewed By: thegameg, lebedev.ri Differential Revision: https://reviews.llvm.org/D91444
-
Yvan Roux authored
Fix candidates calls costs models allocation and prepare stack fixups handling. Differential Revision: https://reviews.llvm.org/D92933
-
Simon Pilgrim authored
Reported by cppcheck. I've run clang-format across all the InstrMap accessors as well.
-
Guillaume Chatelet authored
-
serge-sans-paille authored
Differential Revision: https://www.youtube.com/watch?v=RsL0cipURA0
-
Adhemerval Zanella authored
As indicated by AArch64 ELF specification, symbols with st_other marked with STO_AARCH64_VARIANT_PCS indicates it may follow a variant procedure call standard with different register usage convention (for instance SVE calls). Static linkers must preserve the marking and propagate it to the dynamic symbol table if any reference or definition of the symbol is marked with STO_AARCH64_VARIANT_PCS, and add a DT_AARCH64_VARIANT_PCS dynamic tag if there are R_<CLS>_JUMP_SLOT relocations that reference that symbols. It implements https://bugs.llvm.org/show_bug.cgi?id=48368. Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D93045
-
Adhemerval Zanella authored
It mimics the GNU readelf where it prints a [VARIANT_PCS] for symbols with st_other with STO_AARCH64_VARIANT_PCS. Reviewed By: grimar, MaskRay Differential Revision: https://reviews.llvm.org/D93044
-
Adhemerval Zanella authored
Reviewed By: grimar, MaskRay Differential Revision: https://reviews.llvm.org/D93235
-
Nathan James authored
Swapped a few instances where a move is more optimal or the target doesn't need to hold a reference.
-
Florian Hahn authored
When folding a branch to a common destination, preserve !annotation on the created instruction, if the terminator of the BB that is going to be removed has !annotation. This should ensure that !annotation is attached to the instructions that 'replace' the original terminator. Reviewed By: jdoerfert, lebedev.ri Differential Revision: https://reviews.llvm.org/D93410
-
Jun Ma authored
Differential Revision: https://reviews.llvm.org/D93389
-
Jez Ng authored
Note that dylibs without *any* refs will still be loaded in the usual (strong) fashion. Reviewed By: #lld-macho, thakis Differential Revision: https://reviews.llvm.org/D93435
-
Jez Ng authored
Weak references need not necessarily be satisfied at runtime (but they must still be satisfied at link time). So symbol resolution still works as per usual, but we now pass around a flag -- ultimately emitting it in the bind table -- to indicate if a given dylib symbol is a weak reference. ld64's behavior for symbols that have both weak and strong references is a bit bizarre. For non-function symbols, it will emit a weak import. For function symbols (those referenced by BRANCH relocs), it will emit a regular import. I'm not sure what value there is in that behavior, and since emulating it will make our implementation more complex, I've decided to treat regular weakrefs like function symbol ones for now. Fixes PR48511. Reviewed By: #lld-macho, thakis Differential Revision: https://reviews.llvm.org/D93369
-
Lucas Prates authored
This extends the command-line support for the 'armv8.7-a' architecture name to the ARM target. Based on a patch written by Momchil Velikov. Reviewed By: ostannard Differential Revision: https://reviews.llvm.org/D93231
-
Lucas Prates authored
This introduces command-line support for the 'armv8.7-a' architecture name (and an alias without the '-', as usual), and for the 'ls64' extension name. Based on patches written by Simon Tatham. Reviewed By: ostannard Differential Revision: https://reviews.llvm.org/D91776
-
Lucas Prates authored
This adds support for the v8.7-A LD64B/ST64B Accelerator extension through a subtarget feature called "ls64". It adds four 64-byte load/store instructions with an operand in the new GPR64x8 register class, and one system register that's part of the same extension. Based on patches written by Simon Tatham. Reviewed By: ostannard Differential Revision: https://reviews.llvm.org/D91775
-
Lucas Prates authored
This adds a GPR64x8 register class that will be needed as the data operand to the LD64B/ST64B family of instructions in the v8.7-A Accelerator Extension, which load or store a contiguous range of eight x-regs. It has to be its own register class so that register allocation will have visibility of the full set of registers actually read/written by the instructions, which will be needed when we add intrinsics and/or inline asm access to this piece of architecture. Patch written by Simon Tatham. Reviewed By: ostannard Differential Revision: https://reviews.llvm.org/D91774
-
Lucas Prates authored
This introduces support for the v8.7-A architecture through a new subtarget feature called "v8.7a". It adds two new "WFET" and "WFIT" instructions, the nXS limited-TLB-maintenance qualifier for DSB and TLBI instructions, a new CPU id register, ID_AA64ISAR2_EL1, and the new HCRX_EL2 system register. Based on patches written by Simon Tatham and Victor Campos. Reviewed By: ostannard Differential Revision: https://reviews.llvm.org/D91772
-
Lucas Prates authored
This enables the capturing of multiple required features in the AArch64 AsmParser's SysAlias error messages. Reviewed By: ostannard Differential Revision: https://reviews.llvm.org/D92388
-
Lucas Prates authored
This removes the general forms of the AArch64 MSR and MRS instructions from the same decoding table that contains many more specific instructions that supersede them. They're now in a separate decoding table of their own, called "Fallback", which is only consulted in the event of the main decoder table failing to produce an answer. This should avoid decoding conflicts on future specialized instructions in the MSR space. Patch written by Simon Tatham. Reviewed By: ostannard Differential Revision: https://reviews.llvm.org/D91771
-
Florian Hahn authored
This patch extends IRBuilder to allow adding/preserving arbitrary metadata on created instructions. Instead of using references to specific metadata nodes (like DebugLoc), IRbuilder now keeps a vector of (metadata kind, MDNode *) pairs, which are added to each created instruction. The patch itself is a NFC and only moves the existing debug location handling over to the new system. In a follow-up patch it will be used to preserve !annotation metadata besides !dbg. The current approach requires iterating over MetadataToCopy to avoid adding duplicates, but given that the number of metadata kinds to copy/preserve is going to be very small initially (0, 1 (for !dbg) or 2 (!dbg and !annotation)) that should not matter. Reviewed By: lebedev.ri Differential Revision: https://reviews.llvm.org/D93400
-
Guillaume Chatelet authored
The benchmarking infrastructure can now run in two modes: - Sweep Mode: which generates a ramp of size values (same as before), - Distribution Mode: allows the user to select a distribution for the size paramater that is representative from production. The analysis tool has also been updated to handle both modes. Differential Revision: https://reviews.llvm.org/D93210
-
Pavel Labath authored
The test appears to expect the inferior to be stopped, but the custom "attach commands" leave it in a running state. It's unclear how this could have ever worked.
-
Alex Zinenko authored
-
Michał Górny authored
-
Michał Górny authored
Differential Revision: https://reviews.llvm.org/D93299
-
Cullen Rhodes authored
Epilogue vectorization doesn't support scalable vectorization factors yet, disable it for now. Reviewed By: sdesmalen, bmahjour Differential Revision: https://reviews.llvm.org/D93063
-
Simon Pilgrim authored
Put back the std::reverse_iterator<DWARFDie::iterator> != operator that was removed in D78938 to fix VS2019 builds
-
Sam McCall authored
Some old GCC versions seem to miss the default template parameter when using the clang/Basic/LLVM.h forward declarations of SmallVector. See D92788
-
Kerry McLaughlin authored
-
Martin Storsjö authored
Differential Revision: https://reviews.llvm.org/D93283
-
Alex Zinenko authored
This was long overdue. The initial documentation for the LLVM dialect was introduced before ODS had support for long descriptions. This is now possible, so the documentation is moved to ODS, which can serve as a single source of truth. The high-level description of the dialect structure is updated to reflect that. Depends On: D93315 Reviewed By: rriddle, mehdi_amini Differential Revision: https://reviews.llvm.org/D93425
-
Alex Zinenko authored
Rewrite the parts of the documentation that became stale: context/module handling and type system. Expand the type system description. Reviewed By: nicolasvasilache Differential Revision: https://reviews.llvm.org/D93315
-
Kerry McLaughlin authored
Reviewed By: david-arm Differential Revision: https://reviews.llvm.org/D93307
-
dfukalov authored
Continuing work started in https://reviews.llvm.org/D92489: Removed a bunch of includes from "AliasAnalysis.h" and "LoopPassManager.h". Reviewed By: RKSimon Differential Revision: https://reviews.llvm.org/D92852
-
Simon Pilgrim authored
This was needed in an earlier version of D92645, but isn't now - and I've just noticed that it was potentially flawed depending on the relevant widths of the broadcasted and extracted subvectors.
-
Krasimir Georgiev authored
-