- Feb 12, 2022
-
-
Arthur Eubanks authored
elementtype is only allowed on caller arguments.
-
Björn Schäpers authored
- Added an option where to put the requires clauses. - Renamed IndentRequires to IndentRequiresClause. - Changed BreakBeforeConceptDeclaration from bool to an enum. Fixes https://llvm.org/PR32165, and https://llvm.org/PR52401. Differential Revision: https://reviews.llvm.org/D113319
-
Nikolas Klauser authored
Reviewed By: ldionne, #libc Spies: libcxx-commits Differential Revision: https://reviews.llvm.org/D119490
-
Nico Weber authored
Less typing than `-fprofile-instr-use`, and means the same thing. Differential Revision: https://reviews.llvm.org/D119574
-
Dimitry Andric authored
Follow-up to 458ead66, which replaced the bespoke CMakeLists.txt file for building a custom instrumented libc++ with an invocation of the runtimes build. In the the bespoke CMakeLists.txt, the LIBCXX_CXX_ABI setting was forced to libcxxabi, but this was not done for the CMake invocation for the runtimes build. This would cause CMake configuration issues on platforms where the default LIBCXX_CXX_ABI setting is not libcxxabi, such as FreeBSD. Add `-DLIBCXX_CXX_ABI=libcxxabi` to that invocation, to make sure the custom instrumented libc++ always uses the expected ABI. Reviewed By: phosek Differential Revision: https://reviews.llvm.org/D119554
-
Adrian Prantl authored
This reverts commit b3b2538d, it introduced a cycklic module depenency that broke the -DLLVM_ENABLE_MODULES=1 build.
-
Weverything authored
Remove most calls to deprcated Address constructor in CGExpr.cpp Differential Revision: https://reviews.llvm.org/D119496
-
Florian Mayer authored
An infinite loop without any effects is illegal C++ and can be optimized away by the compiler. Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D119575
-
Louis Dionne authored
This reverts commit 2722ac65. As explained in D115906, this was actually unnecessary and it broke the external threading configuration. Differential Revision: https://reviews.llvm.org/D119484
-
Louis Dionne authored
Differential Revision: https://reviews.llvm.org/D119468
-
Florian Hahn authored
If we can prove that an addition without wrap flags won't wrap, decompse the operation. Issue #48253
-
YASHASVI KHATAVKAR authored
-
Martin Storsjö authored
This should silence all remaining clang-cl build warnings. Differential Revision: https://reviews.llvm.org/D119430
-
Sanjay Patel authored
This is reduced from a test that failed with D118376. The C source is posted in issue #53695
-
Sanjay Patel authored
The addresses matter - we want to verify the splitting and order of the memops.
-
Konstantin Varlamov authored
This works around a known issue in ASan. ASan doesn't instrument weak symbols. Because instrumentation increases object size, the binary can end up with two versions of the same object, one instrumented and one not instrumented, with different sizes, which ASan will report as an ODR violation. In libc++, this affects typeinfo for `std::bad_function_call` which is emitted as a weak symbol in the test executable and as a strong symbol in the shared library. The main open issue for ASan appears to be https://github.com/google/sanitizers/issues/1017. Differential Revision: https://reviews.llvm.org/D119410
-
Arthur Eubanks authored
-
Florian Mayer authored
-
Dmitry Vyukov authored
Fix up includes after 595d340d ("sanitizer_common: make internal/external headers compatible"). Differential Revision: https://reviews.llvm.org/D119570
-
YASHASVI KHATAVKAR authored
-
Philip Reames authored
This mechanism was used for a couple of purposes, but the primary one was keeping track of which predicates in a union might apply to an expression. As these sets are small and agressively deduped, this has little value.
-
Arthur Eubanks authored
Requires keeping better track of sret types.
-
Eric Schweitz authored
for sequence of character types. Upstream type test. Upstream test. Fix tests. Do not run on windows, as that is not an implemented target. Differential Revision: https://reviews.llvm.org/D119551
-
Florian Mayer authored
Reviewed By: eugenis Differential Revision: https://reviews.llvm.org/D119503
-
Roman Lebedev authored
Even if the search is marked as terminated after only looking at the first operand, we'd still look at the remaining operands before actually ending the search. This seems pointless and wasteful, let's not do that.
-
Roman Lebedev authored
Since we don't greedily flatten `umin_seq(a, umin(b, c))` into `umin_seq(a, b, c)`, just looking at the operands of the outer-level `umin` is not sufficient, and we need to recurse into all same-typed `umin`'s.
-
Roman Lebedev authored
-
Roman Lebedev authored
That is the canonical expansion for umin_seq, so we really should roundtrip it.
-
Roman Lebedev authored
The current logic was: https://alive2.llvm.org/ce/z/j8muXk but in reality the offset to the Y in the 'true' hand does not need to exist: https://alive2.llvm.org/ce/z/MNQ7DZ https://alive2.llvm.org/ce/z/S2pMQD To catch that, instead of computing the Y's in both hands and checking their equality, compute Y and C, and check that C is 0 or 1.
-
Roman Lebedev authored
-
Roman Lebedev authored
-
Roman Lebedev authored
Apparently we didn't have any tests for that codepath?
-
David Green authored
Pulled out of D106237, this replaces the X86ISD::AVG DAG node with the generic ISD::AVGCEILU. It doesn't remove the detectAVGPattern method, but the extra generic ISel matching does alter the existing test. Differential Revision: https://reviews.llvm.org/D119073
-
Florian Mayer authored
Reviewed By: eugenis Differential Revision: https://reviews.llvm.org/D119498
-
Peter Steinfeld authored
Section 10.2.2.4, paragraph 3 states that a procedure pointer with an explicit interface must have the same characteristics as its target. Previously, we interpreted this as disallowing such pointers to point to procedures with implicit interfaces. But several other compilers allow this. We make an exception for the case where the explicit interface cannot be called via an implicit interface. This change makes us allow this, also Differential Revision: https://reviews.llvm.org/D119404
-
Peter Kasting authored
Makes lld-link work in a non-MSVC shell by autodetecting MSVC toolchain. Also adds support for /winsysroot and a few other switches. All this is done by refactoring to share code with clang-cl's existing support for the same. Differential Revision: https://reviews.llvm.org/D118070
-
Arthur Eubanks authored
Since the bot is broken due to hwasan issues, it's not auto updating the file lists.
-
Florian Mayer authored
this is the first step in unifying some of the logic between hwasan and mte stack tagging. this only moves around code, changes to converge different implementations of the same logic follow later. Reviewed By: eugenis Differential Revision: https://reviews.llvm.org/D118947
-
Paul Robinson authored
This allows using GTEST_SKIP() to identify un-executed tests. Found by the Rotten Green Tests project.
-
Paul Robinson authored
This allows using GTEST_SKIP() to identify un-executed tests. Found by the Rotten Green Tests project.
-