- Dec 15, 2021
-
-
Craig Topper authored
FRM dependency will be added in a future patch. Reviewed By: arcbbb Differential Revision: https://reviews.llvm.org/D115540
-
Fangrui Song authored
needsPltAddr is equivalent to `needsCopy && isFunc`. In many places, it is equivalent to `needsCopy` because the non-STT_FUNC cases are ruled out. Reviewed By: ikudrin, peter.smith Differential Revision: https://reviews.llvm.org/D115603
-
Craig Topper authored
This a proof of concept for a suggestion I proposed in D108694. Reviewed By: eopXD Differential Revision: https://reviews.llvm.org/D115668
-
Ellis Hoag authored
In debug info, we expect variables to have location info if they are used and we don't want location info for functions that are not used. However, if an unused function is inlined, we could have the scenario where a function is not in the final binary but its static variable is in the final binary. Ensure that variables in the final binary have location debug info even if their scope was inlined. Also add `--implicit-check-not` to a test for clarity. Reviewed By: JDevlieghere Differential Revision: https://reviews.llvm.org/D115565
-
Kirill Stoimenov authored
-
Michał Górny authored
This reverts commit aedb328a. I have failed to make the new tests conditional to the presence of libfbsdvmcore.
-
Craig Topper authored
We already do this for splat nodes that carry a VL, but not for splats that use VLMAX. Reviewed By: frasercrmck Differential Revision: https://reviews.llvm.org/D115483
-
Michał Górny authored
Introduce a FreeBSDKernel plugin that provides the ability to read FreeBSD kernel core dumps. The plugin utilizes libfbsdvmcore to provide support for both "full memory dump" and minidump formats across variety of architectures supported by FreeBSD. It provides the ability to read kernel memory, as well as the crashed thread status with registers on arm64, i386 and x86_64. Differential Revision: https://reviews.llvm.org/D114911
-
Alexander Batashev authored
LLVM forks may use GitHub Actions as well as the upstream projects, but they do not necessarily follow the same development processes. Disable automatic issue labeling for forks, so that it does not interfere with downstream repo automation. Reviewed By: tstellar Differential Revision: https://reviews.llvm.org/D115708
-
Zaara Syeda authored
If a loop isn't forced to be unrolled, we want to avoid unrolling it when there is an explicit unroll-and-jam pragma. This is to prevent automatic unrolling from interfering with the user requested transformation. Differential Revision: https://reviews.llvm.org/D114886
-
Philip Reames authored
These flags are documented as generating poison values for particular input values. As such, we should really be consistent about their handling with how we handle nsw/nuw/exact/inbounds. Differential Revision: https://reviews.llvm.org/D115460
-
Jing Bao authored
When possible, optimize TRUNCATE to generate Wasm SIMD narrow instructions (i16x8.narrow_i32x4_u, i8x16.narrow_i16x8_u), rather than generate lots of extract_lane and replace_lane. Closes #50350.
-
Mark de Wever authored
The library is always build using C++20 so these guards are not needed. Reviewed By: #libc, Quuxplusone, ldionne Differential Revision: https://reviews.llvm.org/D115644
-
Aart Bik authored
Reviewed By: bixia Differential Revision: https://reviews.llvm.org/D115667
-
Aart Bik authored
data point using the 3-dim tensor nell-2.tns MLIR: READ FILE INTO COO: 24424.369294 ms ---> improves to ----> 9638.501044 ms SORT COO BEFORE PACK: 762.834831 ms PACK COO TO TENSOR: 1243.376245 ms TACO: b file read: 13270.9 ms b pack: 7137.74 ms b size: (12092 x 9184 x 28818), 925300328 bytes https://github.com/llvm/llvm-project/issues/52679 Reviewed By: bixia Differential Revision: https://reviews.llvm.org/D115696
-
Sanjay Patel authored
As noted in the code comment, we might want to simply give up on this select transform completely (given how many exceptions there are already and the risk of future conflicts), but for now, carve out one more bailout to avoid an infinite loop. Fixes #52684: https://github.com/llvm/llvm-project/issues/52684
-
Sanjay Patel authored
-
Sanjay Patel authored
The transform can require an optional shuffle instruction to be sound, so we need to use Builder to create all values and then replace the original instruction with whatever that final value is.
-
Mircea Trofin authored
Bazel support is through utils/bazel, and the BUILD files in `benchmark` just complicate downstream integrates for bazel based builds. Differential Revision: https://reviews.llvm.org/D115733
-
Louis Dionne authored
As explained in https://stackoverflow.com/a/70339311/627587, the fact that shrink_to_fit wasn't defined as inline lead to issues when explicitly instantiating basic_string. While explicit instantiations are always somewhat brittle, this one was clearly a bug on our end. Differential Revision: https://reviews.llvm.org/D115656
-
Alexandros Lamprineas authored
CMLT has twice the execution throughput of SSHR on Arm out-of-order cores. Differential Revision: https://reviews.llvm.org/D115457
-
Pavel Labath authored
This applies the from D114259 to the SBStructuredData class.
-
- Dec 14, 2021
-
-
Matt Devereau authored
Instcombine SDIV to ASRD when the third operand of SDIV is a power of 2 Differential Revision: https://reviews.llvm.org/D115448
-
Kirill Stoimenov authored
This change moves optimized callbacks from each .o file to compiler-rt. Instead of using code generation it uses direct assembly implementation. Please note that the 'or' version is not implemented and it will produce unresolved external if somehow 'or' version is requested. Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D114558
-
Zaara Syeda authored
-
Simon Pilgrim authored
If either operand has an element with allbits set, then we don't need the equivalent element from the other operand, as allbits are guaranteed to be set.
-
Simon Pilgrim authored
-
Alexey Bataev authored
-
Jay Foad authored
-
Matt Devereau authored
Replace mask pointer parameters with fcmp for better quality codegen Differential Revision: https://reviews.llvm.org/D115641
-
mydeveloperday authored
C++20 Modules current style is to assign a new file suffix .cppm. https://github.com/llvm/llvm-project/issues/52658 Ensure git-clang-format can handle that as a default extension Reviewed By: ChuanqiXu, HazardyKnusperkeks, curdeius Differential Revision: https://reviews.llvm.org/D115625 Fixes: #52658
-
mydeveloperday authored
https://github.com/llvm/llvm-project/issues/35876 Ensure a namespace alias doesn't get incorrectly identifier as a namespace Reviewed By: HazardyKnusperkeks, curdeius, owenpan Differential Revision: https://reviews.llvm.org/D115647 Fixes: #35876
-
Florian Hahn authored
This reverts commit ac60263a. It looks like the test fails on certain non-Darwin system, even though the triple is explicitly set to macos. Revert while I investigate.
-
Nikita Popov authored
This change is split out from D115497 to add the option independently from the switch of the default value.
-
Fraser Cormack authored
The LangRef incorrectly says that if no exact match is found when seeking alignment for a vector type, the largest vector type smaller than the sought-after vector type. This is incorrect as vector types require an exact match, else they fall back to reporting the natural alignment. The corrected rule was not added in its place, as rules for other types (e.g., floating-point types) aren't documented. A unit test was added to demonstrate this. Reviewed By: aeubanks Differential Revision: https://reviews.llvm.org/D112463
-
Nikolas Klauser authored
Make `__swap_allocator` constexpr Reviewed By: Quuxplusone, ldionne, #libc Spies: libcxx-commits Differential Revision: https://reviews.llvm.org/D115719
-
Florian Hahn authored
memset_pattern{4,8,16} writes to the first argument. Use getForDest to return the corresponding MemoryLocation. Reviewed By: ab Differential Revision: https://reviews.llvm.org/D114906 -
Nikolas Klauser authored
Make `__compressed_pair` fully constexpr Reviewed By: ldionne, #libc, nilayvaish Spies: libcxx-commits Differential Revision: https://reviews.llvm.org/D115687
-
Simon Atanasyan authored
MIPS64 little endian target has a "special" encoding of `r_info` relocation record field. Instead of one 64-bit little endian number, it is a little endian 32-bit number followed by a 32-bit big endian number. For correct reading and writing such fields we must provide information about target machine into the corresponding routine. This patch does this for the `llvm-objcopy` tool and fix handling of MIPS64 little endian files. The bug was reported in the issue #52647. Differential Revision: https://reviews.llvm.org/D115635
-
Alexey Bataev authored
Changes the preliminary multinode analysis: 1. Introduced scores for reversed loads/extractelements. 2. Improved shallow score calculation. 3. Lowered the cost of external uses (no need to consider it several times, just ones). 4. The initial lane for analysis is the one with the minimal possible reorderings. These changes in general shall reduce compile time and improve the reordering in many cases. Part of D57059. Differential Revision: https://reviews.llvm.org/D101109
-