- Nov 18, 2021
-
-
Jan Svoboda authored
-
Florian Hahn authored
Some places were still referring to the outdated buildbot URL http://lab.llvm.org:8011. Update those to use the new URL http://lab.llvm.org/buildbot/#.
-
Florian Hahn authored
the smooshlab bot has been offline for years. Remove it from the list of IRC bots.
-
Eric Tang authored
Fixed the vector type issue that where we used getVectorNumElements() should be replaced by getVectorElementCount() when lowering these intrinsics. This is similar to D94149 Signed-off-by:
Eric Tang <tangxingxin1008@gmail.com> Reviewed By: craig.topper, frasercrmck Differential Revision: https://reviews.llvm.org/D109809
-
Ilya Kuteev authored
Problem: PCM file includes references to all module maps used in compilation which created PCM. This problem leads to PCM-rebuilds in distributed compilations as some module maps could be missing in isolated compilation. (For example in our distributed build system we create a temp folder for every compilation with only modules and headers that are needed for that particular command). Solution: Add only affecting module map files to a PCM-file. Reviewed By: rsmith Differential Revision: https://reviews.llvm.org/D106876
-
Valentin Clement authored
Convert a `fir.embox` operation to LLVM IR dialect. A `fir.embox` is converted to a sequence of operation that create, allocate if needed, and populate a descriptor. Current limitiation: alignment is set by default but should be retrieved in the specific target. This patch is part of the upstreaming effort from fir-dev branch. Reviewed By: kiranchandramohan, awarzynski Differential Revision: https://reviews.llvm.org/D113756 Co-authored-by:
Eric Schweitz <eschweitz@nvidia.com> Co-authored-by:
Jean Perier <jperier@nvidia.com>
-
David Sherwood authored
We were missing patterns for vector_reverse of unpacked FP vector types, as well as all the supported bfloat vectors. Tests added here: CodeGen/AArch64/named-vector-shuffle-reverse-sve.ll Differential Revision: https://reviews.llvm.org/D114089
-
Florian Hahn authored
The initial two cases require a SCEVConstant as RHS. Pull up the condition to check and swap SCEVConstants from below. Also remove a redundant check & swap if RHS is SCEVUnknown.
-
Florian Hahn authored
-
Christian Kühnel authored
This is a cleanup of the only llvm-prefer-isa-or-dyn-cast-in-conditionals finding in the clangd code base. This patch was created by automatically applying the fixes from clang-tidy. Differential Revision: https://reviews.llvm.org/D113899
-
Chen Zheng authored
-
Diana Picus authored
Add the codegen for fir.constc. This patch is part of the upstreaming effort from fir-dev. Differential Revision: https://reviews.llvm.org/D114063 Co-authored-by:
Eric Schweitz <eschweitz@nvidia.com> Co-authored-by:
Jean Perier <jperier@nvidia.com>
-
Michal Terepeta authored
Previously, in case there was only one `Optional` operand/result within the list, we would always return `None` from the accessor, e.g., for a single optional result we would generate: ``` return self.operation.results[0] if len(self.operation.results) > 1 else None ``` But what we really want is to return `None` only if the length of `results` is smaller than the total number of element groups (i.e., the optional operand/result is in fact missing). This commit also renames a few local variables in the generator to make the distinction between `isVariadic()` and `isVariableLength()` a bit more clear. Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D113855
-
Douglas Yung authored
-
Matthias Springer authored
`BufferizableOpInterface::bufferize` will only be called on ops that have tensor operands and/or results. Differential Revision: https://reviews.llvm.org/D113962
-
Matthias Springer authored
Add a new BufferizableOpInterface method `isNotConflicting` that can be used to implement custom analysis rules. Differential Revision: https://reviews.llvm.org/D113961
-
River Riddle authored
NamedAttribute is currently represented as an std::pair, but this creates an extremely clunky .first/.second API. This commit converts it to a class, with better accessors (getName/getValue) and also opens the door for more convenient API in the future. Differential Revision: https://reviews.llvm.org/D113956
-
Arthur O'Dwyer authored
Also, mark these tests as compile-only. They actually are safe to run — notice that the code "runs" at constexpr-time in C++20, without error — because both of the input ranges are entirely filled with nullptr, so no matter how you shuffle the elements, they remain sorted and partitioned and heapified and everything. But there's no real reason to run them at runtime, so let's just avoid the distraction. Test cases that fail in trunk right now are commented out with `TODO FIXME`. Differential Revision: https://reviews.llvm.org/D113906
-
Phoebe Wang authored
-
Phoebe Wang authored
This is aligned with GCC's behavior. Also, alias `-mno-fp-ret-in-387` to `-mno-x87`, by which we can fix pr51498. Reviewed By: nickdesaulniers Differential Revision: https://reviews.llvm.org/D112143
-
LLVM GN Syncbot authored
-
Louis Dionne authored
std::atomic is, for the most part, just a thin veneer on top of compiler builtins. Hence, it should be available even when threads are not available on the system, and in fact there has been requests for such support. This patch: - Moves __libcpp_thread_poll_with_backoff to its own header so it can be used in <atomic> when threads are disabled. - Adds a dummy backoff policy for atomic polling that doesn't know about threads. - Adjusts the <atomic> feature-test macros so they are provided even when threads are disabled. - Runs the <atomic> tests when threads are disabled. rdar://77873569 Differential Revision: https://reviews.llvm.org/D114109
-
LLVM GN Syncbot authored
-
Dmitry Vyukov authored
pthread_join needs to map pthread_t of the joined thread to our Tid. Currently we do this with linear search over all threads. This has quadratic complexity and becomes much worse with the new tsan runtime, which memorizes all threads that ever existed. To resolve this add a hash map of live threads only (that are still associated with pthread_t) and use it for the mapping. With the new tsan runtime some programs spent 1/3 of time in this mapping. After this change the mapping disappears from profiles. Depends on D113996. Reviewed By: vitalybuka, melver Differential Revision: https://reviews.llvm.org/D113997
-
Henry Linjamäki authored
Add a tool for constructing commands for translating LLVM IR to SPIR-V. Used by HIPSPV tool chain (D110618). Reviewed By: bader Differential Revision: https://reviews.llvm.org/D112404
-
Kazu Hirata authored
-
LLVM GN Syncbot authored
-
Phoebe Wang authored
AMD64 ABI mandates caller to specify the number of used SSE registers when passing variable arguments. GCC also provides option -mskip-rax-setup to skip the setup of rax when SSE is disabled. This helps to reduce the code size, see pr23258. Reviewed By: nickdesaulniers Differential Revision: https://reviews.llvm.org/D112413
-
Zarko Todorovski authored
Reworded and removed code comments to avoid using `sanity check` and `sanity test`.
-
Zi Xuan Wu authored
[llvm-tblgen][RISCV] Make llvm-tblgen RISCVCompressInstEmitter to be common infra across different targets Not only RISCV but also other target such as CSKY, there are compressed instructions mixed with normal instructions. To reuse the basic infra to compress/uncompress and predict instruction, we need reconstruct the RISCVCompressInstEmitter and make it more general and suitable for other target. Differential Revision: https://reviews.llvm.org/D113475
-
Vitaly Buka authored
Depends on D114047. Differential Revision: https://reviews.llvm.org/D114048
-
Vitaly Buka authored
Depends on D114046. Differential Revision: https://reviews.llvm.org/D114047
-
Vitaly Buka authored
Depends on D114045. Differential Revision: https://reviews.llvm.org/D114046
-
Vitaly Buka authored
It's just a copy even without reformatting. Reviewed By: dvyukov, melver Differential Revision: https://reviews.llvm.org/D114045
-
Zarko Todorovski authored
Reworded removed code comments that contain `sanity check` and `sanity test`.
-
Richard Smith authored
operator, mark any functions it calls as referenced.
-
Fangrui Song authored
ld.lld used by Android ignores .note.GNU-stack and defaults to noexecstack, so the `-z noexecstack` linker option is unneeded. The `--noexecstack` assembler option is unneeded because AsmPrinter.cpp prints `.section .note.GNU-stack,"",@progbits` (when `llvm.init.trampoline` is unused), so the assembler won't synthesize an executable .note.GNU-stack. Reviewed By: danalbert Differential Revision: https://reviews.llvm.org/D113840
-
Vitaly Buka authored
-
Aart Bik authored
First version was vectors only. With some clever "path" insertion, we now support any d-dimensional tensor. Up next: reductions too Reviewed By: bixia, wrengr Differential Revision: https://reviews.llvm.org/D114024
-
Greg Clayton authored
This reverts commit 951b107e. Buildbots were failing, there is a deadlock in /Users/gclayton/Documents/src/llvm/clean/llvm-project/lldb/test/Shell/SymbolFile/DWARF/DW_AT_range-DW_FORM_sec_offset.s when ELF files try to relocate things.
-