- Feb 08, 2022
-
-
Nikita Popov authored
Use the element type of the gathered/scattered vector instead.
-
Simon Pilgrim authored
-
Corentin Jabot authored
2 papers are added to the status page, one targeting C++23, the other added to the batch of C++20 concept papers.
-
Nikita Popov authored
Instead of checking for a bitcast from a function type, check whether the aliasee is a function after stripping bitcasts. This is not strictly equivalent, but serves the same purpose.
-
Simon Pilgrim authored
-
Sven van Haastregt authored
This simplifies completeness comparisons against OpenCLBuiltins.td.
-
David Pagan authored
Done in manner similar to mutexinoutset (see https://reviews.llvm.org/D57576) Runtime support already exists in LLVM OpenMP runtime (see https://reviews.llvm.org/D97085). The value used to identify an inoutset dependency type in the LLVM OpenMP runtime is 8. Some tests updated due to change in dependency type error messages that now include new dependency type. Also updated test/OpenMP/task_codegen.cpp to verify we emit the right code.
-
- Feb 09, 2022
-
-
Arjun P authored
Reviewed By: Groverkss Differential Revision: https://reviews.llvm.org/D119194
-
- Feb 08, 2022
-
-
Simon Pilgrim authored
D108992 added KnownBits handling for 'Quadratic Reciprocity' self-multiplication patterns (bit[1] == 0), which can be used for non-undef values (poison is OK). This patch adds noundef selfmultiply handling to value tracking so demanded bits patterns can make use of it. Differential Revision: https://reviews.llvm.org/D117995
-
Simon Pilgrim authored
Noticed while running checks on D117995 - a hexagon regression test was managing to return a block without a terminator
-
Jesko Appelfeller authored
The test invocation at the start of run-clang-tidy.py (line 257) prints all enabled checks - meaning either the default set or anything configured via the -checks option. If any checks were (un-)configured via the -config option, these are not printed. This is confusing to the user, since the list of checks that are printed may be different from the list of checks that are used by the non-testing calls to clang-tidy, where the -config option is passed correctly. This patch adds the -config option to the test invocation of clang-tidy at the start of the script. This means that checks (un-)configured via the -config option (rather than the -checks option) are applied correctly, when printing the list of enabled checks.
-
Nikita Popov authored
Use --include-generated-funcs checks. Unfortunately this places all the functions at the end of the file rather than interleaving them, but at least makes it feasible to update these tests.
-
Simon Moll authored
Reviewed By: kaz7 Differential Revision: https://reviews.llvm.org/D119223
-
Simon Pilgrim authored
In many cases, calls to isShiftedMask are immediately followed with checks to determine the size and position of the bitmask. This patch adds variants of APInt::isShiftedMask, isShiftedMask_32 and isShiftedMask_64 that return these values as additional arguments. I've updated a number of cases that were either performing seperate size/position calculations or had created their own local wrapper versions of these. Differential Revision: https://reviews.llvm.org/D119019
-
Guillaume Chatelet authored
This implementation relies on storing data in registers for sizes up to 128B. Then depending on whether `dst` is less (resp. greater) than `src` we move data forward (resp. backward) by chunks of 32B. We first make sure one of the pointers is aligned to increase performance on large move sizes. Differential Revision: https://reviews.llvm.org/D114637
-
Simon Pilgrim authored
-
David Green authored
We currently use emitConjunction to create CCMP conjunctions from the conditions of selects, helping turning and/ors into more optimal ccmp sequences that don't need to go through csels. This extends that to also be used whilst lowering brcond, giving more opportunity for better condition generation. Differential Revision: https://reviews.llvm.org/D118650
-
Simon Pilgrim authored
This patch implements `__builtin_elementwise_add_sat` and `__builtin_elementwise_sub_sat` builtins. These map to the add/sub saturated math intrinsics described here: https://llvm.org/docs/LangRef.html#saturation-arithmetic-intrinsics With this in place we should then be able to replace the x86 SSE adds/subs intrinsics with these generic variants - it looks like other targets should be able to use these as well (arm/aarch64/webassembly all have similar examples in cgbuiltin). Differential Revision: https://reviews.llvm.org/D117898
-
Mubashar Ahmad authored
FeaturePerfMon has been enabled for CPUs in AArch64. Differential Revision: https://reviews.llvm.org/D118705
-
Nikita Popov authored
The module context shouldn't be relevant here, and should never be null either.
-
Nikita Popov authored
Instead of the pointer element type.
-
Nikita Popov authored
Instead of computing the size of the pointer element type.
-
Guillaume Chatelet authored
This is necessary to get llvm-libc compile with GCC. This patch is extracted from D119002. Differential Revision: https://reviews.llvm.org/D119143
-
Nikita Popov authored
Instead of pointer element type.
-
Andrzej Warzynski authored
Differential Revision: https://reviews.llvm.org/D119133
-
Guillaume Chatelet authored
llvm-libc exhibits a C interface but its source is C++. This patch explicitly disables the use of exceptions and RTTI when compiling the entrypoints. Differential Revision: https://reviews.llvm.org/D118889
-
Fraser Cormack authored
This patch adds an optimization to splat-like operations where the splatted value is extracted from a identically-sized vector. On RVV we can splat that via vrgather.vx/vrgather.vi without dropping to scalar beforehand. We do have a similar VECTOR_SHUFFLE-specific optimization but that only works on fixed-length vector types and for those with a constant splat lane. This patch extends this optimization to make it work on scalable-vector types and on unknown extract indices. It is performed during fixed-vector BUILD_VECTOR lowering and during a new DAGCombine on SPLAT_VECTOR for scalable vectors. Reviewed By: craig.topper, khchen Differential Revision: https://reviews.llvm.org/D118456
-
Nikita Popov authored
Instead of pointer element type.
-
Nikita Popov authored
Use the type of the stored value instead.
-
Guillaume Chatelet authored
This is necessary to get llvm-libc compile with GCC. This patch is extracted from D119002. Differential Revision: https://reviews.llvm.org/D119142
-
David Green authored
-
Tres Popp authored
mlir::shape::ToExtentTensorOp::areCastCompatible didn't allow the input to have a static dimension, but that is allowed.
-
Cullen Rhodes authored
s/-affine-vectorize/-affine-super-vectorize/g Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D118892
-
Nikita Popov authored
Before walking all the callers, check whether we have a dereferenceable attribute directly on the argument. Also make it clearer that the code currently does not treat alignment correctly.
-
Nikita Popov authored
While we check dereferenceability of all callers, we don't check dereferenceability annotations on the callee.
-
Nikita Popov authored
We only support chunks <= 32 bits regardless of whether we're running on a 64-bit platform or not. Chunk size > 32 <= 64 would cause UB in the reading code.
-
Nikita Popov authored
-
Nikita Popov authored
This avoid shift larger than bitwidth UB.
-
Nikita Popov authored
Probably missed as part of some recent header cleanup.
-
Clement Courbet authored
The extra space causes the table to render incorrectly in doxygen.
-