- Jan 14, 2022
-
-
Simon Pilgrim authored
-
Simon Pilgrim authored
Allows shuffle combining through per-element shift nodes This exposed a number of issues with shuffle combining with target intrinsics that are lowered to nodes later during legalization - in particular shuffle combining and SimplifyDemandedVectorElts were being called after canonicalizeShuffleWithBinOps, meaning that shuffles didn't have a chance to be combined away before the shuffle(binop(x,y)) -> binop(shuffle(x),shuffle(y)) fold.
-
LLVM GN Syncbot authored
-
Stanislav Mekhanoshin authored
I believe this is unexploitable because in either case the result will be 'couldn't allocate register for constraint' error message, but error code checking is clearly wrong. Differential Revision: https://reviews.llvm.org/D117189
-
Arthur O'Dwyer authored
"What is a view?" http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p2415r2.html https://github.com/cplusplus/draft/pull/5010/files This was a late-breaking (Oct 2021) change to C++20. The only thing missing from this patch is that we're supposed to bump the feature-test macro from #define __cpp_lib_ranges 202106L to #define __cpp_lib_ranges 202110L but we can't do that because we don't implement all of 202106 Ranges yet. Differential Revision: https://reviews.llvm.org/D116894
-
Juergen Ributzka authored
The PlatformKind/PlatformType enums contain the same information, which requires them to be kept in-sync. This commit changes over to PlatformType as the sole source of truth, which allows the removal of the redundant PlatformKind. The majority of the changes were in LLD and TextAPI. Reviewed By: cishida Differential Revision: https://reviews.llvm.org/D117163
-
Louis Dionne authored
-
Craig Topper authored
Migrate the one caller that failed lit tests to use MVT::getVectorMinNumElements directly.
-
Simon Pilgrim authored
-
Matt Arsenault authored
Shockingly we weren't doing this already. We should probably have this be done earlier in the IR too, but it's still helpful to have the lowering guarantee it so that we can modify the ABI implicit inputs based on it.
-
Matt Arsenault authored
If we know we we aren't using a component from the kernel, we can save a few bit packing instructions. We're still enabling the VGPR input to the kernel though.
-
Andrzej Warzynski authored
As per https://github.com/flang-compiler/f18-llvm-project/issues/1344, the `flang` bash script works fine with 4.4.19 and requiring 4.4.23 is too restrictive. Rather than keep updating the patch level, this patch removes this particular check (so that it will only check the major and minor versions instead). As this is both rather straightforward and urgent, I'm merging this without a review.
-
Joseph Huber authored
This patch adds the `weak` identifier to the openmp device environment variable. The changes introduced in https://reviews.llvm.org/D117211 result in multiply defined symbols. Because the symbol is potentially included multiple times for each offloading file we will get symbol colisions, and because it needs to have external visiblity it should be weak. Reviewed By: JonChesterfield Differential Revision: https://reviews.llvm.org/D117231
-
Aaron Ballman authored
This completes the implementation of WG14 N2412 (http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2412.pdf), which standardizes C on a twos complement representation for integer types. The only work that remained there was to define the correct macros in the standard headers, which this patch does.
-
Florian Hahn authored
-
Elizabeth Andrews authored
Functions pointers should be created with program address space. This patch introduces program address space in TargetInfo. Targets with non-default (default is 0) address space for functions should explicitly set this value. This patch fixes a crash on lvalue reference to function pointer (in device code) when using oneAPI DPC++ compiler. Differential Revision: https://reviews.llvm.org/D111566
-
John Brawn authored
This makes it easier figure out the cause when it fails, and is what check_z3_version does (the other place we use try_run).
-
- Jan 13, 2022
-
-
David Sherwood authored
This reverts commit 31009f0b. It seems to be causing SVE VLA buildbot failures and has introduced a genuine regression. Reverting for now.
-
Sanjay Patel authored
The load narrowing transform works for both targets, so we might as well test both with simple examples like this.
-
Jan Svoboda authored
This reverts commit 8503c688. This patch causes some issues with `#include_next`: https://github.com/llvm/llvm-project/issues/53161
-
Simon Pilgrim authored
-
Simon Pilgrim authored
-
Arthur O'Dwyer authored
These things are header #includes, CMakeLists.txt, and module.modulemap. Differential Revision: https://reviews.llvm.org/D116958
-
Erich Keane authored
to repro error. As mentioned yesterday, I've got a problem that I can only reproduce on Godbolt (none of the build configs on my local machine!), so this is at least somewhat usable until I figure out a cause.
-
Simon Pilgrim authored
Allows shuffle combining through rotation nodes
-
Simon Pilgrim authored
-
Denys Shabalin authored
This change introduces C API helper functions to work with PDL types. Modification closely follow the format of the https://reviews.llvm.org/D116546. Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D117221
-
Denys Shabalin authored
Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D117222
-
David Spickett authored
This was left over from when I had used some pointer authentication instructions to sign the pointer. Then I realised that simply setting the top byte is enough to prove the ABI plugin is being called. Top byte ignore is a feature of the armv8-a architecure and doesn't need any extra compiler flags.
-
Eugene Zhulenev authored
Reviewed By: cota Differential Revision: https://reviews.llvm.org/D117162
-
Sam McCall authored
The AST doesn't track their locations, and the default behavior of attributing them to the lexically-enclosing node is sloppy and often inaccurate. Also add a couple of passing test cases for declarators that weren't obvious. Differential Revision: https://reviews.llvm.org/D117185
-
Jon Chesterfield authored
D97446 changed the behaviour of 'used'. Compensate. Reviewed By: ronlieb Differential Revision: https://reviews.llvm.org/D117211
-
Nikita Popov authored
This case is automatically handled if ConstantFoldLoadFromConstPtr() is used. Make sure that ConstantFoldLoadFromConst() also handles it.
-
Petar Avramovic authored
-
Petar Avramovic authored
-
Sander de Smalen authored
Map Main ID part number 0xd40 to neoverse-v1, as described in the Neoverse-V1 Technical Reference Manual: https://developer.arm.com/documentation/101427/0101/Register-descriptions/AArch64-system-registers/MIDR-EL1--Main-ID-Register--EL1 Differential Revision: https://reviews.llvm.org/D117207
-
Sam McCall authored
When searching for AST nodes that may overlap the selection, mayHit() was only attempting to prune nodes whose begin/end are both in the main file. While failing to prune never gives wrong results, it hurts performance. In GTest unit-tests, `TEST()` macros at the top level declare classes. These were never pruned and we traversed *every* such class for any selection. We fix this by reasoning about what tokens such a node might claim. They must lie within its ultimate macro expansion range, so if this doesn't overlap with the selection, we can prune the node. Differential Revision: https://reviews.llvm.org/D116978
-
Kirill Bobyrev authored
The api for loadIndex changed but was not updated everywhere due to differences in the build configuration.
-
Simon Pilgrim authored
Partial element rotate patterns (e.g. for element insertion on Issue #53124) were being split if every lane wasn't crossing, but really there's a good repeated mask hiding in there.
-
Evgeny Mandrikov authored
Without this patch when using CMAKE_CXX_STANDARD=20 and MSVC 19.30.30705.0 compilation fails with clang\lib\Tooling\Syntax\Tree.cpp(347): error C2666: 'clang::syntax::Tree::ChildIteratorBase<clang::syntax::Tree::ChildIterator,clang::syntax::Node>::operator ==': 4 overloads have similar conversions clang\lib\Tooling\Syntax\Tree.cpp(392): error C2666: 'clang::syntax::Tree::ChildIteratorBase<clang::syntax::Tree::ChildIterator,clang::syntax::Node>::operator ==': 4 overloads have similar conversions Note that removed comment that "iterator_facade_base requires == to be a member" was made obsolete by change https://reviews.llvm.org/D78938 Reviewed By: sammccall Differential Revision: https://reviews.llvm.org/D116904
-