- May 24, 2022
-
-
Benjamin Kramer authored
-
Paul Robinson authored
-
Philip Reames authored
Simplified version of a test taken from D123581.
-
Jeffrey Tan authored
This fixes an issue that optimized variable error message is not shown to end users in lldb-vscode. Differential Revision: https://reviews.llvm.org/D126014
-
Jeffrey Tan authored
To help user identify optimized code This diff adds a "[opt]" suffix to optimized stack frames in lldb-vscode. This provides consistent experience as command line lldb. It also adds a new "optimized" attribute to DAP stack frame object so that it is easy to identify from telemetry than parsing trailing "[opt]". Differential Revision: https://reviews.llvm.org/D126013
-
Fangrui Song authored
Latest GNU nm (milestone: 2.39) has added -W/--no-weak and changed -U to mean --defined-only (instead of --unicode=). The changes match our semantics. Close #55297 Reviewed by: jhenderson, keith Differential Revision: https://reviews.llvm.org/D126133
-
Christopher Bate authored
AsyncCopyOp lowering converted "size in elements" to "size in bytes" assuming the element type size is at least one byte. This removes that restriction, allowing for types such as i4 and b1 to be handled correctly. Differential Revision: https://reviews.llvm.org/D125838
-
Matthias Springer authored
Differential Revision: https://reviews.llvm.org/D125637
-
Christopher Bate authored
This changes adds missing support for the i4 data type. Tests are added to ensure proper lowering of an nvgpu.mma.sync operation targeting the 16x8x64xi4 and 16x8x32xi4 MMA variants in the NVVM dialect. Differential Revision: https://reviews.llvm.org/D126092
-
Matthias Springer authored
Also fixes integration of the pass into One-Shot Bufferize and adds additional test cases. BufferResultsToOutParams can be used with "identity-layout-map" and "fully-dynamic-layout-map". "infer-layout-map" is not supported. Differential Revision: https://reviews.llvm.org/D125636
-
Jonas Devlieghere authored
Currently simulator tests get skipped when the reported platform is macosx rather than darwin. Update the decorator to match both.
-
Matthias Springer authored
Differential Revision: https://reviews.llvm.org/D126179
-
Nathan Sidwell authored
C++20 modules require emission of an initializer function, which is called by importers of the module. This implements the mangling for that function. It is the one place the ABI exposes partition names in symbols -- but fortunately only needed by other TUs of that same module. Reviewed By: bruno Differential Revision: https://reviews.llvm.org/D122741
-
- May 23, 2022
-
-
Stella Laurenzo authored
Differential Revision: https://reviews.llvm.org/D126182
-
Richard authored
When looking for whether or not a check provides fixits, the script examines the implementation of the check. Some checks are not implemented in source files that correspond one-to-one with the check name, e.g. cert-dcl21-cpp. So if we can't find the check implementation directly from the check name, open up the corresponding module file and look for the class name that is registered with the check. Then consult the file corresponding to the class name. Some checks are derived from a base class that implements fixits. So if we can't find fixits in the implementation file for a check, scrape out the name of it's base class. If it's not ClangTidyCheck, then consult the base class implementation to look for fixit support. Differential Revision: https://reviews.llvm.org/D126134 Fixes #55630
-
Nikita Popov authored
The order obviously doesn't matter for bitwise and/or, but would matter for logical and/or, so change it to preserve the original order.
-
Nikita Popov authored
Add variations with bitwise and logical and/or, as well as commuted operands.
-
Jingu Kang authored
This reverts commit 42ebfa82. The commmit from https://reviews.llvm.org/D125918 has fixed the stage 2 build failure. Differential Revision: https://reviews.llvm.org/D118979
-
Matthias Springer authored
No longer pass static dim sizes as an attribute. This was redundant and required extra checks in the verifier. This change also makes the op symmetrical to memref::AllocOp. Differential Revision: https://reviews.llvm.org/D126178
-
PeixinQiao authored
Remove the integration tests and rename the file. Reviewed By: shraiysh, NimishMishra Differential Revision: https://reviews.llvm.org/D126169
-
Alexander Belyaev authored
Differential Revision: https://reviews.llvm.org/D126206
-
Jay Foad authored
You can't use foreach in a record body. This was a mistake in the documentation dating from when it was first written in D85838.
-
Alexander Belyaev authored
Differential Revision: https://reviews.llvm.org/D126202
-
Alexey Bataev authored
SLP vectorizer emits extracts for externally used vectorized scalars and estimates the cost for each such extract. But in many cases these scalars are input for insertelement instructions, forming buildvector, and instead of extractelement/insertelement pair we can emit/cost estimate shuffle(s) cost and generate series of shuffles, which can be further optimized. Tested using test-suite (+SPEC2017), the tests passed, SLP was able to generate/vectorize more instructions in many cases and it allowed to reduce number of re-vectorization attempts (where we could try to vectorize buildector insertelements again and again). Differential Revision: https://reviews.llvm.org/D107966
-
Stephen Long authored
https://docs.microsoft.com/en-us/cpp/intrinsics/arm64-intrinsics?view=msvc-170 void __writex18byte(unsigned long, unsigned char) void __writex18word(unsigned long, unsigned short) void __writex18dword(unsigned long, unsigned long) void __writex18qword(unsigned long, unsigned __int64) Given the lack of documentation of the intrinsics, we chose to align the offset with just `CharUnits::One()` when calling `IRBuilderBase::CreateAlignedStore()`. Reviewed By: efriedma Differential Revision: https://reviews.llvm.org/D126023
-
Sanjay Patel authored
X <u (zext i1 Y) --> (X == 0) && Y https://alive2.llvm.org/ce/z/avQDRY This is a generalization of 4069cccf based on the post-commit suggestion. This also adds the i1 type check and tests that were missing from the earlier attempt; that commit caused several bot fails and was reverted. Differential Revision: https://reviews.llvm.org/D126171
-
Sanjay Patel authored
-
Alexey Bataev authored
NFC.
-
Nikita Popov authored
Similarly to a change recently done for fcmps, add a flag that indicates whether the and/or is logical to foldAndOrOfICmps, and reuse the function when folding logical and/or. We were already calling some parts of it, but this gives us a clearer indication of which parts may need poison-safe variants, and would also allow to fold combinations of bitwise and logical and/or. This change should be close to NFC, because all folds this enables were either already called previously, or can make use of implied poison reasoning.
-
Anastasia Stulova authored
Currently added versions are from v1.0 to v1.5, other versions can be added as needed. This change also adds documentation about SPIR-V target support in LLVM. Differential Revision: https://reviews.llvm.org/D124776
-
Timm Bäder authored
This reverts commit 8717b492. The new unittest fails on Windows buildbots, e.g. https://lab.llvm.org/buildbot/#/builders/119/builds/8647
-
Dmitry Preobrazhensky authored
Differential Revision: https://reviews.llvm.org/D126070
-
Sylvestre Ledru authored
-
Sylvestre Ledru authored
-
Jay Foad authored
These must have crept in since D117298 was landed.
-
Edd Barrett authored
This diff adds tests that check the currently-working stackmap cases for i128. This will help ensure no regressions are later introduced by D125680 (when ready). Note that i128 stackmap support is currently incomplete, so we cant test all i128 functionality: i128 constants >= 2^{63} crash LLVM non-constant i128s crash LLVM So this change tests only constant i128 operands of value < 2^{63}. A couple of incorrect comments are also fixed. -
Simon Pilgrim authored
-
Timm Bäder authored
And pick the highest one, instead of adding all possibilities to the prefixes. Differential Revision: https://reviews.llvm.org/D125862
-
LiaoChunyu authored
These test cases are copy from fma Reviewed By: reames Differential Revision: https://reviews.llvm.org/D126049
-
Nikita Popov authored
Freeze the condition of the newly introduced conditional branch, to avoid immediate undefined behavior if the input to ctlz/cttz was originally poison. Differential Revision: https://reviews.llvm.org/D125887
-