This project is mirrored from https://github.com/llvm/llvm-project.git.
Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer or owner.
Last successful update .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer or owner.
Last successful update .
- Jan 27, 2022
-
-
Qiu Chaofan authored
This method introduces new CMake variable PPC_LINUX_DEFAULT_IEEELONGDOUBLE (false by default) to enable fp128 as default long double format. Reviewed By: jsji Differential Revision: https://reviews.llvm.org/D118110
-
Stanislav Mekhanoshin authored
Since RegBankReassign pass was removed this feature is not use for anything. Differential Revision: https://reviews.llvm.org/D118195
-
Alex Tsao authored
Reviewed By: xgupta Differential Revision: https://reviews.llvm.org/D118219
-
Florian Hahn authored
-
Pavel Labath authored
These were probably not picked up before because they only run when logging is enabled.
-
- Jan 26, 2022
-
-
Benjamin Kramer authored
This reverts commit ef820632. - It conflicts with the existing llvm::size in STLExtras, which will now never be called. - Calling it without llvm:: breaks C++17 compat
-
serge-sans-paille authored
-
Stanislav Gatev authored
This is part of the implementation of the dataflow analysis framework. See "[RFC] A dataflow analysis framework for Clang AST" on cfe-dev. Reviewed-by: xazax.hun Differential Revision: https://reviews.llvm.org/D118236
-
dongAxis authored
Summary: This is the first path to support more relocation types on aarch64. The patch just uses the isInt<N> to replace fitsRangeSignedInt. Test Plan: check-all Differential Revision: https://reviews.llvm.org/D118231
-
Sanjay Patel authored
The loop below the changed line assumes that the element width of the target constant is the same as the element width of the loaded value, but that is not always true. We could try harder to do some kind of min/max calc even if the sizes don't match, but that can be another patch if needed. This fixes #53401 (miscompile) and does not change the motivating cases added when this analysis was introduced: ad298f86
-
Sanjay Patel authored
-
serge-sans-paille authored
As a conquence move llvm::array_lengthof from STLExtras.h to STLForwardCompat.h (which is included by STLExtras.h so no build breakage expected).
-
Simon Pilgrim authored
Helps determine if the subvector ops come from the same larger vector and match the lower/upper extractions
-
Nikita Popov authored
Rather than checking for i8*, simply add a bitcast to i8*, so the appendString() code sees the expected type.
-
Marek Kurdej authored
Fixes https://github.com/llvm/llvm-project/issues/53405. Reviewed By: MyDeveloperDay, owenpan Differential Revision: https://reviews.llvm.org/D118220
-
Kadir Cetinkaya authored
We are already building into the final result, no need to append it again. Fixes https://github.com/clangd/vscode-clangd/issues/290. Differential Revision: https://reviews.llvm.org/D118245
-
Matthias Springer authored
This is for compatibility with existing bufferization passes. Also clean up memref type generation a bit. Differential Revision: https://reviews.llvm.org/D118243
-
Marek Kurdej authored
[Visualizers] Fix SmallVector<T> visualizer for T inside an anonymous namespace. Use `value_type` instead of `$T1`. At least on MSVC 2022, using $T1 does not work. Reviewed By: RKSimon Differential Revision: https://reviews.llvm.org/D118105
-
Nemanja Ivanovic authored
In commit 1674d9b6, I fixed the bug where we didn't consider both words of the result of the comparison. However, the logic needs to be different for eq and ne. Namely for eq, we need both words of the doubleword to equal so it is an AND. OTOH for ne, we need either word to be unequal so it is an OR.
-
Christian Sigg authored
-
Jan Svoboda authored
This patch replaces the exact include count of each file in `HeaderFileInfo` with a set of included files in `Preprocessor`. The number of includes isn't a property of a header file but rather a preprocessor state. The exact number of includes is not used anywhere except statistic tracking. Reviewed By: vsapsai Differential Revision: https://reviews.llvm.org/D114095
-
Sam McCall authored
Underscore-uglified identifiers are used in standard library implementations to guard against collisions with macros, and they hurt readability considerably. (Consider `push_back(Tp_ &&__value)` vs `push_back(Tp value)`. When we're describing an interface, the exact names of parameters are not critical so we can drop these prefixes. This patch adds a new PrintingPolicy flag that can applies this stripping when recursively printing pieces of AST. We set it in code completion/signature help, and in clangd's hover display. All three features also do a bit of manual poking at names, so fix up those too. Fixes https://github.com/clangd/clangd/issues/736 Differential Revision: https://reviews.llvm.org/D116387
-
Nikita Popov authored
AMDGPUHSAMetadataStreamer currently assumes that pointer arguments without align attribute have ABI alignment of the pointee type. This is incompatible with opaque pointers, but also plain incorrect: Pointer arguments without explicit alignment have alignment 1. It is the responsibility of the frontent to add correct align annotations. Differential Revision: https://reviews.llvm.org/D118229
-
David Spickett authored
This adds an option --show-tags to "memory read". (lldb) memory read mte_buf mte_buf+32 -f "x" -s8 --show-tags 0x900fffff7ff8000: 0x0000000000000000 0x0000000000000000 (tag: 0x0) 0x900fffff7ff8010: 0x0000000000000000 0x0000000000000000 (tag: 0x1) Tags are printed on the end of each line, if that line has any tags associated with it. Meaning that untagged memory output is unchanged. Tags are printed based on the granule(s) of memory that a line covers. So you may have lines with 1 tag, with many tags, no tags or partially tagged lines. In the case of partially tagged lines, untagged granules will show "<no tag>" so that the ordering is obvious. For example, a line that covers 2 granules where the first is not tagged: (lldb) memory read mte_buf-16 mte_buf+16 -l32 -f"x" --show-tags 0x900fffff7ff7ff0: 0x00000000 <...> (tags: <no tag> 0x0) Untagged lines will just not have the "(tags: ..." at all. Though they may be part of a larger output that does have some tagged lines. To do this I've extended DumpDataExtractor to also print memory tags where it has a valid execution context and is asked to print them. There are no special alignment requirements, simply use "memory read" as usual. All alignment is handled in DumpDataExtractor. We use MakeTaggedRanges to find all the tagged memory in the current dump, then read all that into a MemoryTagMap. The tag map is populated once in DumpDataExtractor and re-used for each subsequently printed line (or recursive call of DumpDataExtractor, which some formats do). Reviewed By: omjavaid Differential Revision: https://reviews.llvm.org/D107140
-
Nikita Popov authored
We could keep the non-i8 GEP code for non-opaque pointers, but there's two reasons I'm dropping it: First, this actually appears to be dead code, at least it isn't hit in any of our tests. I expect that this is because we usually expand trip counts, and those are never pointers (anymore). Second, the non-i8 GEP was actually incorrect in multiple ways, because it used SCEV type sizes, which don't match DL type sizes (for pointers) and certainly don't match type alloc sizes (which is what GEPs actually use). As such, I'm simplifying the code to always use the i8 GEP code path if it does get hit.
-
Alban Bridonneau authored
We have some bitcasts which we know will be simplified, so their cost is zero. Reviewed By: david-arm, sdesmalen Differential Revision: https://reviews.llvm.org/D118019
-
Sebastian Neubauer authored
Starting with VS 2019, CMake defaults to the x64 host toolchain, so the warning does not apply anymore. References: VS 2017 defaults to x86 https://cmake.org/cmake/help/latest/generator/Visual%20Studio%2015%202017.html?highlight=host#toolset-selection VS 2019 and 2022 default to x64 for x64 targets https://cmake.org/cmake/help/latest/generator/Visual%20Studio%2016%202019.html?highlight=host#toolset-selection https://cmake.org/cmake/help/latest/generator/Visual%20Studio%2017%202022.html?highlight=host#toolset-selection Differential Revision: https://reviews.llvm.org/D118228
-
David Spickett authored
-
David Spickett authored
-
Abhina Sreeskantharajan authored
This commit https://github.com/llvm/llvm-project/commit/75e164f61d391979b4829bf2746a5d74b94e95f2 removed the AutoConvert.h header causing a build break on z/OS. This patch adds it back to fix it. Reviewed By: zibi Differential Revision: https://reviews.llvm.org/D118129
-
LLVM GN Syncbot authored
-
David Spickett authored
The tag map holds a sparse set of memory tags and allows you to query ranges for tags. Granules that do not have tags will be set to llvm::None. to keep the ordering intact. If there are no tags for the requested range we'll just return an empty result so that callers don't need to check that all values are llvm::None. This will be combined with MemoryTagManager's MakeTaggedRanges: * MakeTaggedRanges * Read from all those ranges * Insert the results into the tag map * Give the tag map to whatever needs to print tags Which in this case will be "memory read"/DumpDataExtractor. Reviewed By: JDevlieghere Differential Revision: https://reviews.llvm.org/D112825
-
Nikita Popov authored
-
serge-sans-paille authored
Based on the output of iwyu. A full rebuild of llvm-project doesn't exhibit any significant false dependencies. The impact on preprocessed output is larger than expected, given the small amount of changes $ clang++ -E -Iinclude -I../llvm/include ../llvm/lib/TextAPI/*.cpp -std=c++14 -fno-rtti -fno-exceptions | wc -l before: 635319 After: 643716 Discourse thread on the topic: https://llvm.discourse.group/t/include-what-you-use-include-cleanup
-
Salman Javed authored
Comment change only, no functional change intended. Example of warning: https://lab.llvm.org/buildbot/#/builders/188/builds/8696/steps/4/logs/warnings__2_
-
Simon Moll authored
Packed-mode broadcast of f32/i32 requires the subregister to be replicated to the full I64 register prior. Add repl_i32 and repl_f32 to faciliate this. Reviewed By: kaz7 Differential Revision: https://reviews.llvm.org/D117878
-
serge-sans-paille authored
Should fix https://lab.llvm.org/buildbot#builders/37/builds/10259
-
Nikita Popov authored
This should be no functional change, as the cases supported by the helper and the cases supported by DSE are currently the same, the code structure is just slightly different.
-
Paul Walker authored
-
Andrzej Warzynski authored
`tco` does not generate machine code, so it does not require (machine) code-gen related dependencies. Differential Revision: https://reviews.llvm.org/D118112
-