- Oct 06, 2022
-
-
Philip Reames authored
Differential Revision: https://reviews.llvm.org/D135327
-
Michał Górny authored
Add LLVM_ENABLE_ZSTD to llvm_canonicalize_cmake_booleans(). This is needed to ensure that the substitutions in lit.site.cfg.py resolve to correct Python booleans. Differential Revision: https://reviews.llvm.org/D135357
-
Aaron Ballman authored
We would issue the same diagnostic twice in the case that the K&R C function definition is preceded by a static declaration of the function with a prototype. Fixes #58181
-
Utkarsh Saxena authored
-
Florian Hahn authored
-
Sanjay Patel authored
These would change with D135278, but for now everything is the same.
-
Nico Weber authored
-
Sanjay Patel authored
-
Nico Weber authored
-
Utkarsh Saxena authored
Implement https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p2468r2.html. Primarily we now accept ``` template<typename T> struct CRTPBase { bool operator==(const T&) const; bool operator!=(const T&) const; }; struct CRTP : CRTPBase<CRTP> {}; bool cmp_crtp = CRTP() == CRTP(); bool cmp_crtp2 = CRTP() != CRTP(); ``` Differential Revision: https://reviews.llvm.org/D134529
-
Nikita Popov authored
This test already has check lines for opaque pointers, remove the unnecessary typed pointer check lines.
-
Florian Hahn authored
Extend OR handling to traverse chains of ORs.
-
Nikita Popov authored
Converted using https://gist.github.com/nikic/98357b71fd67756b0f064c9517b62a34 with manual fixup, primarily to drop check lines for types that no longer appear with opaque pointers.
-
Dmitry Makogon authored
-
Guray Ozen authored
It adds the missing `bar.warp.sync` to the nvvm dialect. It is a barrier to synchronize for threads in a warp. Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D135253
-
Nikita Popov authored
Conversion done using the script at https://gist.github.com/nikic/98357b71fd67756b0f064c9517b62a34. These are tests where the conversion worked out of the box and no manual fixup was performed.
-
Nikita Popov authored
This reverts commit 84905986. This breaks running llvm tests: llvm-lit: /home/npopov/repos/llvm-project/llvm/utils/lit/lit/TestingConfig.py:138: fatal: unable to parse config file '/home/npopov/repos/llvm-project/build/test/lit.site.cfg.py', traceback: Traceback (most recent call last): File "/home/npopov/repos/llvm-project/llvm/utils/lit/lit/TestingConfig.py", line 127, in load_from_path exec(compile(data, path, 'exec'), cfg_globals, None) File "/home/npopov/repos/llvm-project/build/test/lit.site.cfg.py", line 48, in <module> config.have_zstd = FALSE NameError: name 'FALSE' is not defined
-
Kadir Cetinkaya authored
This reverts commit feea7ef2. Drops the test case, see https://reviews.llvm.org/D135161#3839510
-
Sam McCall authored
Assigning char* (pointing at comment start) to StringRef was causing us to scan the rest of the source file looking for the null terminator. This seems to be eating about 8% of our *total* CPU! While fixing this, factor out the common bits from the two places we're parsing IWYU pragmas. Differential Revision: https://reviews.llvm.org/D135314
-
David Spickett authored
Reviewed By: shafik Differential Revision: https://reviews.llvm.org/D135256
-
Nikita Popov authored
-
Nikita Popov authored
Missed this unit test use in 3d0b5f01.
-
Petr Hosek authored
This module is used to find the system zstd library. The imported targets intentionally use the same name as the generate zstd config CMake file so these can be used interchangeably. Differential Revision: https://reviews.llvm.org/D134990
-
Nikita Popov authored
After D94363, there is no more need to use CRTP here.
-
Pierrick Bouvier authored
Instead of hardcoding a specific VS install, try sequentially: - %VSINSTALLDIR% (already set from a vs prompt) - 2019/Enterprise - 2019/Professional - 2019/Community - 2019/BuildTools It stops when one is found and set vsdevcmd env var. Differential revision: https://reviews.llvm.org/D135173
-
Haojian Wu authored
Similar to getFileIDLocal patch, but for the version for load module. Test with clangd (building AST with preamble), FileID scans in binary search is reduced: SemaExpr.cpp: 142K -> 137K (-3%) FindTarget.cpp: 368K -> 343K (-6%) Differential Revision: https://reviews.llvm.org/D135258
-
Florian Hahn authored
-
Nikita Popov authored
Currently, AAResultBase (from which alias analysis providers inherit) stores a reference back to the AAResults aggregation it is part of, so it can perform recursive alias analysis queries via getBestAAResults(). This patch removes the back-reference from AAResultBase to AAResults, and instead passes the used aggregation through the AAQueryInfo. This can be used to perform recursive AA queries using the full aggregation. Differential Revision: https://reviews.llvm.org/D94363
-
Kadir Cetinkaya authored
As pointed out in https://reviews.llvm.org/D119130#3829816, this introduces a clang AST dependency to the clangToolingInclusions, which is used by clang-format. Since rest of the inclusion tooling doesn't depend on clang ast, moving this into a separate library. Differential Revision: https://reviews.llvm.org/D135245
-
Nikita Popov authored
This is in preparation for D94363, as we will need AAQI to perform the recursive call to the function variant.
-
Nikita Popov authored
Remove the ability to disable opaque pointers by default in clang. It is still possible to explicitly disable them via cc1 -no-opaque-pointers. Differential Revision: https://reviews.llvm.org/D135259
-
Florian Hahn authored
-
Pierre van Houtryve authored
We can still get a NaN even if none of the operands are NaN, e.g. from +inf/-inf. D50804 didn't catch that. Reviewed By: arsenm Differential Revision: https://reviews.llvm.org/D134854
-
Florian Hahn authored
This should be NFC and ensure the sign of the constraint is used consistently in the future.
-
Pierre van Houtryve authored
Previously we would be unable to legalize V2S16 BUILD_VECTOR_TRUNC on GFX8 & below as the custom legalization was missing. Reviewed By: arsenm Differential Revision: https://reviews.llvm.org/D135149
-
Alex Brachet authored
This symbol shouldn't have default visibility. Differential Revision: https://reviews.llvm.org/D135346
-
Matthias Springer authored
Inserting a tensor into an equivalent tensor is a no-op after bufferization. No alloc is needed. Differential Revision: https://reviews.llvm.org/D132662
-
Alex Brachet authored
Evidently * and [] are mangled differently by MSVC...
-
Alex Brachet authored
The llvm-driver, enabled with LLVM_TOOL_LLVM_DRIVER_BUILD combines many llvm executables into one to save overall toolchain size. This patch adds a few more llvm tools to the llvm-driver. Differential Revision: https://reviews.llvm.org/D135281
-
owenca authored
Differential Revision: https://reviews.llvm.org/D134852
-