- Jul 21, 2021
-
-
Alexander Yermolovich authored
Fix build for https://reviews.llvm.org/D106198 when -DBUILD_SHARED_LIBS=ON. Test Plan: Reviewed By: dblaikie Differential Revision: https://reviews.llvm.org/D106414
-
Jacques Pienaar authored
-
Stella Laurenzo authored
libMLIRPublicAPI.so came into existence early when the Python and C-API were being co-developed because the Python extensions need a single DSO which exports the C-API to link against. It really should never have been exported as a mondo library in the first place, which has caused no end of problems in different linking modes, etc (i.e. the CAPI tests depended on it). This patch does a mechanical move that: * Makes the C-API tests link directly to their respective libraries. * Creates a libMLIRPythonCAPI as part of the Python bindings which assemble to exact DSO that they need. This has the effect that the C-API is no longer monolithic and can be subset and used piecemeal in a modular fashion, which is necessary for downstreams to only pay for what they use. There are additional, more fundamental changes planned for how the Python API is assembled which should make it more out of tree friendly, but this minimal first step is necessary to break the fragile dependency between the C-API and Python API. Downstream actions required: * If using the C-API and linking against MLIRPublicAPI, you must instead link against its constituent components. As a reference, the Python API dependencies are in lib/Bindings/Python/CMakeLists.txt and approximate the full set of dependencies available. * If you have a Python API project that was previously linking against MLIRPublicAPI (i.e. to add its own C-API DSO), you will want to `s/MLIRPublicAPI/MLIRPythonCAPI/` and all should be as it was. There are larger changes coming in this area but this part is incremental. Reviewed By: mehdi_amini Differential Revision: https://reviews.llvm.org/D106369
-
Vitaly Buka authored
-
Vitaly Buka authored
Replaced with %adb_shell cat.
-
Vitaly Buka authored
"/" needs to be removed to avoid making absolute path.
-
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
-