- Jul 21, 2021
-
-
Jon Roelofs authored
Differential revision: https://reviews.llvm.org/D105953
-
Geoffrey Martin-Noble authored
-
peter klausler authored
A field in DescriptorAddendum became unused during a recent change but was not removed from the definition; it now elicits a legitimate warning that's affecting some buildbots. Remove it.
-
LLVM GN Syncbot authored
-
Alexander Yermolovich authored
This is a step1, mechanical refactor, of moving the bulk of llvm-dwp functionality in to a library. This should allow other tools, like BOLT, to re-use some of the llvm-dwp functionality. Reviewed By: dblaikie Differential Revision: https://reviews.llvm.org/D106198
-
Jon Roelofs authored
Differentail revision: https://reviews.llvm.org/D105382
-
Jon Roelofs authored
https://clang.godbolt.org/z/9az64j8W6 rdar://77466123 Differential revision: https://reviews.llvm.org/D105370
-
Hanhan Wang authored
This allows caller to use non-const functions, e.g., `getOperandNumber`, etc. It is expected that OpOperand is not modified in a callback function. Reviewed By: mravishankar Differential Revision: https://reviews.llvm.org/D106322
-
Geoffrey Martin-Noble authored
This is the default and the argument is deprecated. The documentation indicating it's the default is only since 4.0 (https://docs.bazel.build/versions/4.0.0/skylark/lib/Label.html#Label), but looking at the code it has been the default since its introduction in https://bazel.googlesource.com/bazel/+/6f15335dea with Bazel 0.2.1 (https://bazel.googlesource.com/bazel/+show/0.2.1/CHANGELOG.md) Reviewed By: jpienaar Differential Revision: https://reviews.llvm.org/D106411
-
Walter Erquinigo authored
Differential Revision: https://reviews.llvm.org/D106328
-
Lang Hames authored
Reverts commit fe1fa43f while I investigate failures on Linux.
-
Lang Hames authored
Adds code to LLVM (MachOPlatform) and the ORC runtime to support native MachO thread local variables. Adding new TLVs to a JITDylib at runtime is supported. On the LLVM side MachOPlatform is updated to: 1. Identify thread local variables in the LinkGraph and lower them to GOT accesses to data in the __thread_data or __thread_bss sections. 2. Merge and report the address range of __thread_data and thread_bss sections to the runtime. On the ORC runtime a MachOTLVManager class introduced which records the address range of thread data/bss sections, and creates thread-local instances from the initial data on demand. An orc-runtime specific tlv_get_addr implementation is included which saves all register state then calls the MachOTLVManager to get the address of the requested variable for the current thread.
-
Lang Hames authored
This will be used in upcoming MachO native TLV support patches to LLVM and the ORC runtime.
-
Lang Hames authored
LinkGraph::transferBlock can be used to move a block and all associated symbols from one section to another. LinkGraph::mergeSections moves all blocks and sections from a source section to a destination section.
-
Albion Fung authored
Implemented builtins for mtmsr, mfspr, mtspr on PowerPC; the patch is intended for XL Compatibility. Differential revision: https://reviews.llvm.org/D106130
-
Aditya Nandakumar authored
[NFC][AssemblyWriter] Allow AssemblyWriter::printBasicBlock() to print blocks that don't have parents. Remove the assert in AssemblyWriter::printBasicBlock() and in BasicBlock::isEntryBlock() that require blocks to have parents. Instead, have BasicBlock::isEntryBlock() return false for unattached blocks. This allows us to call these functions for blocks that are not yet added to a module which is a useful debugging capability. Committing for xiaoqing_wu https://reviews.llvm.org/D106127k
-
Jon Roelofs authored
That way they get marked as UNSUPPORTED by LIT when the ppc backend has not been built.
-
Jon Roelofs authored
https://llvm.godbolt.org/z/nTTK6M5qe Differential revision: https://reviews.llvm.org/D106388
-
Fangrui Song authored
The guid of a local linkage variable has the module path encoded, so the order between a local linkage variable and a non-local linkage variable isn't guaranteed.
-
Sanjay Patel authored
https://llvm.org/PR50960
-
peter klausler authored
F18 was sigalling an end-of-file error condition when reading an unformatted sequential input file without an ultimate newline (or CR-LF). Other Fortran implementations can handle it, so change the runtime to support it. Differential Revision: https://reviews.llvm.org/D106321
-
peter klausler authored
Use derived type information tables to drive default component initialization (when needed), component destruction, and calls to final subroutines. Perform these operations automatically for ALLOCATE()/DEALLOCATE() APIs for allocatables, automatics, and pointers. Add APIs for use in lowering to perform these operations for non-allocatable/automatic non-pointer variables. Data pointer component initialization supports arbitrary constant designators, a F'2008 feature, which may be a first for Fortran implementations. Differential Revision: https://reviews.llvm.org/D106297
-
Rob Suderman authored
The unstrided transposed conv can be represented as a regular convolution. Lower to this variant to handle the basic case. This includes transitioning from the TC defined convolution operation and a yaml defined one. Reviewed By: NatashaKnk Differential Revision: https://reviews.llvm.org/D106389
-
Geoffrey Martin-Noble authored
-
LLVM GN Syncbot authored
-
Alex Lorenz authored
[clang] Fix the capitalization of the DarwinSDKInfoTest unittest filename to avoid case-sensitive FS build errors
-
Matheus Izvekov authored
When disabling simpler implicit moves in MSVC compatibility mode as a workaround in D105518, we forgot to make the opposite change and enable regular (P1825) implicit moves in the same mode. As a result, we were not doing any implicit moves at all. OOPS! This fixes it and adds test for this. This is a fix to a temporary workaround, there is ongoing work to replace this, applying the workaround only to system headers and the ::stl namespace. Signed-off-by:
Matheus Izvekov <mizvekov@gmail.com> Reviewed By: aaron.ballman Differential Revision: https://reviews.llvm.org/D106303
-
Alex Lorenz authored
version remapping to the Darwin SDK Info Differential Revision: https://reviews.llvm.org/D105958
-
Roman Lebedev authored
-
Eli Friedman authored
We currently don't use casp; maybe we should?
-
Sami Tolvanen authored
This reverts commit 700d07f8. Reverting due to a ThinLTO+CFI breakage on -msvc targets.
-
Martin Storsjö authored
This was requested in the post-commit review of D104530.
-
LLVM GN Syncbot authored
-
Albion Fung authored
This patch implements store, load, move from and to registers related builtins, as well as the builtin for stfiw. The patch aims to provide feature parady with xlC on AIX. Differential revision: https://reviews.llvm.org/D105946
-
Vincent Lee authored
Implement pass 3 of bind opcodes from ld64 (which supports both 32-bit and 64-bit). Pass 3 implementation condenses BIND_OPCODE_DO_BIND_ADD_ADDR_ULEB opcode to BIND_OPCODE_DO_BIND_ADD_ADDR_IMM_SCALED. This change is already behind an O2 flag so it shouldn't impact current performance. I verified ld64's output with x86_64 LLD and they were both emitting the same optimized bind opcodes (although in a slightly different order). Tested with arm64_32 LLD and compared that with x86 LLD that the order of the bind opcodes are the same (offset values are different which should be expected). Reviewed By: int3, #lld-macho, MaskRay Differential Revision: https://reviews.llvm.org/D106128
-
Melanie Blower authored
Revert "[CLANG][PATCH][FPEnv] Add support for option -ffp-eval-method and extend #pragma float_control similarly" This reverts commit ce8024e8. There are a couple buildbot problems
-
Sterling Augustine authored
After rGbbbc4f11, we can move any string type that has convenient pointer and length fields into the PtrAndLengthKind, reducing the amount of code. Differential Revision: https://reviews.llvm.org/D106381
-
Jessica Paquette authored
Add manual selection code similar to the code in AArch64ISelDAGToDAG, and add `createTuple` helpers similar to the code there as well. This accounted for around 111 fallbacks while building clang for AArch64 with GlobalISel. This also should make it easy to add selection code for other store intrinsics. As a minor cleanup, this uses `createQTuple` in the other place where we use REG_SEQUENCE. Differential Revision: https://reviews.llvm.org/D106332
-
Eli Friedman authored
Accidentally forgot to flip the opcode... and I didn't notice because it was working fine for the GlobalISel.
-
Alex Lorenz authored
This is a preparation commit for https://reviews.llvm.org/D105958
-