- Apr 09, 2023
-
-
Mark de Wever authored
Reviewed By: #libc, philnik Differential Revision: https://reviews.llvm.org/D147853
-
Congcong Cai authored
Fixed https://github.com/llvm/llvm-project/issues/57530 Add pre check to avoid false positive for namespace with attributes like ``` namespace [[deprecated]] ns {} ``` Reviewed By: PiotrZSL Differential Revision: https://reviews.llvm.org/D147857
-
Mark de Wever authored
This omission seems to be there for a long time, it's in the initial libc++ import. This was discovered while working on the std modules. Reviewed By: #libc, philnik Differential Revision: https://reviews.llvm.org/D147850
-
Mark de Wever authored
LWG3720 Restrict the valid types of arg-id for width and precision in std-format-spec Depends on D144325 Reviewed By: #libc, ldionne Differential Revision: https://reviews.llvm.org/D144326
-
Mark de Wever authored
Implements the range-default-formatter specialization range_format::string and range_format::debug_string. Implements parts of - P2286R8 Formatting Ranges - P2585R0 Improving default container formatting Depends on D145847 Reviewed By: ldionne, #libc Differential Revision: https://reviews.llvm.org/D145853
-
OCHyams authored
Revert D146987. This reverts commit f11e1475 which reapplies D146987. Buildbot: https://lab.llvm.org/buildbot/#/builders/70/builds/36103
-
OCHyams authored
Prior to this patch the trackAssignments function would attribute all stores to an alloca to all variables linked to the alloca. This is wrong in the case where the alloca contains variables which are smaller than the alloca, and caused erroneous fragment information to be generated. Now stores outside the variable bounds are discarded, and we check whether a fragment is needed based on whether the store covers the entire variable as opposed to whether it covers the entire alloca (except for variables of unknown size). Note that trackAssignments doesn't yet understand whole variables sitting at anything other than offset 0 in an alloca - those variables are still tracked using dbg.declares. Fixes https://lab.llvm.org/buildbot/#/builders/70/builds/36007 Reviewed By: jmorse Differential Revision: https://reviews.llvm.org/D147777
-
Jorge Pinto Sousa authored
The link was pointing to the 'Lexer and Preprocessor Library' instead. Reviewed By: PiotrZSL Differential Revision: https://reviews.llvm.org/D147874
-
Florian Hahn authored
Instead of clearing live outs when a scalar epilogue is required late, don't add live outs during VPlan construction if a scalar epilogue is required. This enables more VPlan-based DCE (if the live out would be the only user in the plan) and is a step towards removing an access of the cost model in fixedVectorizedLoop (which is after VPlan execution). Depends on D147468. Reviewed By: Ayal Differential Revision: https://reviews.llvm.org/D147471
-
Craig Topper authored
[TableGen] Reorder some checks in TreePatternNode::isIsomorphicTo to speedup -gen-dag-isel for RISC-V. Comparing types is quite expensive when hardware modes are being used. Checking the operator first can let us detect mismatches earlier without checking types.
-
Hristo Hristov authored
Depends on D145881 Implements parts of **P1614R2**: https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1614r2.html Implements `operator<=>` for `time_point` Reviewed By: #libc, Mordante Differential Revision: https://reviews.llvm.org/D146250
-
Craig Topper authored
This avoids some double map lookups. Also use Map.begin() to find the default mode instead of going through find.
-
Shengchen Kan authored
-
Nikolas Klauser authored
We changed the `abort` calls when trying to throw exceptions in `-fno-exceptions` mode to `__verbose_abort` calls, which removes the dependency in most files. Reviewed By: ldionne, #libc Spies: dim, emaste, mikhail.ramalho, smeenai, libcxx-commits Differential Revision: https://reviews.llvm.org/D146076
-
Lang Hames authored
-
Kazu Hirata authored
-
Lang Hames authored
A map value was converted from a tuple to a struct during development, but I missed a use in an assert.
-
Joshua Cao authored
Follow LLVM coding standards and make clangd emit less warnings.
-
Lang Hames authored
This patch drops the individual registration calls to the ObjC and Swift runtimes (for selectors, classes, etc.), and instead creates a Mach header and load commands that can be passed to _objc_map_images and _objc_load_images to trigger registration and execution of +load methods. This approach supports categories (for which there is no current registration API), and more closely follows dyld's ObjC & Swift registration path.
-
Kazu Hirata authored
-
Joshua Cao authored
-
Sergei Barannikov authored
The test was added in D69953, but since D67794 landed a bit later it no longer catches the bug. Update the test to be representative again. Reviewed By: arsenm Differential Revision: https://reviews.llvm.org/D146934
-
Lang Hames authored
Clients can provide an ExecutionSession or an ExecutorProcessControl object to LLJITBuilder, but should not provide both.
-
Craig Topper authored
Previously we collected both modes in a set and iterated over that set. Instead, iterate over the two maps in parallel and detect the differences as we go.
-
Craig Topper authored
-
Congcong Cai authored
range of replacing last namespace decl should be from last non nested namespace to last namespace Reviewed By: PiotrZSL Differential Revision: https://reviews.llvm.org/D147843
-
Nikolas Klauser authored
This cuts the time it takes to run the test in half. Reviewed By: Mordante, #libc Spies: libcxx-commits Differential Revision: https://reviews.llvm.org/D147320
-
Min-Yih Hsu authored
- FP registers and register classes definitions - MC support for FP registers - MC support for the FPDR -> FPDR variant of FMOVE/FSMOVE/FDSMOVE Note that we don't implement 32/64-bit FP registers with subregisters since f32/f64 values will be converted to f80 upon storing into a register, rather than occupying part of the register. So we only use register classes with different value types to distinguish them. Differential Revision: https://reviews.llvm.org/D147480
-
Piotr Zegar authored
Currently check does not look into LinkageSpecDecl when removing redundant variable re-declarations. This were leaving code in non-compiling state. Fix patch fixes this and adds removal also of 'extern C'. Fixes: https://github.com/llvm/llvm-project/issues/42068 Reviewed By: carlosgalvezp Differential Revision: https://reviews.llvm.org/D146904
-
- Apr 08, 2023
-
-
Mark de Wever authored
Since stacktrace header is WIP and it's not sure that will be done before LLVM17 update the documentation. When the header is implemented implementing the formatter is trivial, so that can be done quickly afterwards. Implements parts of: - P2693R1 Formatting thread::id and stacktrace Reviewed By: #libc, ldionne Differential Revision: https://reviews.llvm.org/D144331
-
Timm Bäder authored
-
Timm Bäder authored
-
Timm Bäder authored
Differential Revision: https://reviews.llvm.org/D147845
-
Mark de Wever authored
Partially implements: - P1361 Integration of chrono with text formatting - P2372 Fixing locale handling in chrono formatters Reviewed By: ldionne, #libc Differential Revision: https://reviews.llvm.org/D144739
-
Mark de Wever authored
This LWG issue is based on the discussion regarding P2733R3 Fix handling of empty specifiers in std::format This paper was disussed and changed a few times in LEWG during the Issaquah meeting. The paper was not voted in, instead LEWG asked for a DR against C++26. This LWG issue contains the direction voted by LEWG. This issue has not been voted in yet. However it fixes some of the defencies on the container based formatting. Without this fix the range-default-formatter for strings looks bad when used in containers. The changes of this issue match the intended changes of P27333. type fmt before after (if changed) --------------------------------------------------------------- char {} a char {:?} 'a' array<char, 1> {} ['a'] array<char, 1> {::} [a] array<char, 1> {::c} [a] array<char, 1> {::?} ['a'] map<char, char> {} {a: a} -> {'a': 'a'} map<char, char> {::} {'a': 'a'} set<char> {} {'a'} set<char> {::} {a} set<char> {::c} {a} set<char> {::?} {'a'} tuple<char> {} ('a') stack<char> {} ['a'] stack<char> {::} [a] stack<char> {::c} [a] stack<char> {::?} ['a'] array<array<char, 1>, 1> {} [[a]] -> {'a': 'a'} array<array<char, 1>, 1> {::} [['a']] array<array<char, 1>, 1> {:::} [[a]] array<array<char, 1>, 1> {:::c} [[a]] array<array<char, 1>, 1> {:::?} [['a']] array<tuple<char>, 1> {} [(a)] -> [('a')] tuple<tuple<char>> {} ((a)) -> (('a')) tuple<array<char, 1>> {} ([a]) -> (['a']) Note the optimization text as mentioned in the tuple formatter can't be done. The call to parse may affect the formatter so its state needs to be preserved. Reviewed By: ldionne, #libc, EricWF Differential Revision: https://reviews.llvm.org/D145847 -
Florian Hahn authored
This removes the need to convert the end of the range to the next power-of-2 for the end iterator after 4bd3fda5 and was suggested as follow-up TODO in D147468.
-
Matt Arsenault authored
-
Matt Arsenault authored
Hopefully fixes issue #61132
-
Matt Arsenault authored
GlobalISel happens to insert some constant materializes before SI_END_CF in one test. These need to be excluded from AliveBlocks since they are defined in the original block and used in the split block, so they aren't fully alive through either block. The case where the value defined in the first block which was originally used in a later block is still broken. Avoids a verifier error in a future patch.
-