- Sep 08, 2023
-
-
Matt Arsenault authored
-
Will Hawkins authored
Add a warning to the `Building Libcxx` documentation about the limitations of the utility of `--fresh` at the top level. Signed-off-by:Will Hawkins <hawkinsw@obs.cr>
-
Alex authored
lldb already has a `ValueSP` type. This was confusing to me when reading TypeCategoryMap, especially when `ValueSP` is not qualified. From first glance it looks like it's referring to a `std::shared_ptr<lldb_private::Value>` when it's really referring to a `std::shared_ptr<lldb_private::TypeCategoryImpl>`.
-
Rainer Orth authored
As noticed in D158846, the Solaris driver deviates from other targets in that it links every executable with `-lm`, but doesn't for shared objects. For C code, this is unnecessary, while for C++ `libm` is always needed, even for shared objects. This patch fixes this by following the `Gnu.cpp` precedent. It adjusts the `solaris-ld.c` test accordingly, adding some more tests. Tested on `amd64-pc-solaris2.11`, `sparcv9-sun-solaris2.11`, and `x86_64-pc-linux-gnu`.
-
Jay Foad authored
-
esmeyi authored
Summary: Materialization a 64-bit constant with High32=Low32 only requires 2 instructions instead of 3 when Low32 can be materialized in 1 instruction. Reviewed By: qiucf Differential Revision: https://reviews.llvm.org/D158495
-
Tai Ly authored
This adds a native op trait SameOperandsAndResultRank and associated verifier that checks that an operator's operands and result types have same ranks if their ranks are known. Signed-off-by:
Tai Ly <tai.ly@arm.com> Change-Id: I2d536f77be10f3710d0c8d84c907ff492a984fda Reviewed By: rsuderman Differential Revision: https://reviews.llvm.org/D156369
-
Jay Foad authored
This allows it to be inlined in Release builds giving a geomean 0.10% speed up according to https://llvm-compile-time-tracker.com/
-
Joseph Huber authored
These functions were implemented by simply calling their `__builtin_*` equivalents. The builtins were resolving to the libc functions back again. This patch adds explicit vendor versions for these functions to avoid the recursion.
-
Jakub Kuderski authored
This is the last remaining op from the `SPV_KHR_cooperative_matrix` extension.
-
Fangrui Song authored
From https://discourse.llvm.org/t/input-needed-teams-for-pull-request-subscriptions/73116/6 They are somehow missing in latest updates of #65131.
-
Joel E. Denny authored
This reverts commit 09b6e457. The reason for the revert is discussed at: https://discourse.llvm.org/t/rfc-improving-lits-debug-output/72839/52
-
Joel E. Denny authored
This reverts commit c981c533. The reason for the revert is discussed at: https://discourse.llvm.org/t/rfc-improving-lits-debug-output/72839/52
-
Joel E. Denny authored
This reverts commit f254bbf2. The reason for the revert is discussed at: https://discourse.llvm.org/t/rfc-improving-lits-debug-output/72839/52
-
Joel E. Denny authored
This reverts commit 3db5db92. The reason for the revert is discussed at: https://discourse.llvm.org/t/rfc-improving-lits-debug-output/72839/52
-
Joel E. Denny authored
This reverts commit 012d844f. The reason for the revert is discussed at: https://discourse.llvm.org/t/rfc-improving-lits-debug-output/72839/52
-
Joel E. Denny authored
This reverts commit b6bd9d27. The reason for the revert is discussed at: https://discourse.llvm.org/t/rfc-improving-lits-debug-output/72839/52
-
Joel E. Denny authored
This reverts commit 19b44c2b. The reason for the revert is discussed at: https://discourse.llvm.org/t/rfc-improving-lits-debug-output/72839/52
-
Joel E. Denny authored
This reverts commit efec733b. The reason for the revert is discussed at: https://discourse.llvm.org/t/rfc-improving-lits-debug-output/72839/52
-
Amara Emerson authored
-
Shilei Tian authored
This reverts commit e91e3cf0 because AMD BB is not happy with it.
-
Dmitri Gribenko authored
-
Shilei Tian authored
-
Guillaume Chatelet authored
This is needed because `cpp::in_place_t` is also used by `cpp::expected` https://en.cppreference.com/w/cpp/utility/in_place
-
kazutakahirata authored
This patch replaces any_cast with llvm::any_cast. This in turn allows us to gracefully switch to std::any in future by forwarding llvm::Any and llvm::any_cast to: using Any = std::any; template <class T> T *any_cast(Any *Value) { return std::any_cast<T>(Value); } respectively. Without this patch, it's ambiguous whether any_cast refers to std::any_cast or llvm::any_cast. As an added bonus, this patch makes it easier to mechanically replace llvm::any_cast with std::any_cast without affecting other occurrences of any_cast (e.g. in libcxx). -
Guillaume Chatelet authored
-
Will Hawkins authored
Add a [-b|--bootstrap] flag to change cxx-test-depends to runtimes-test-depends when testing a build of libcxx from bootstrapping. Signed-off-by:
Will Hawkins <hawkinsw@obs.cr> Differential Revision: https://reviews.llvm.org/D157045
-
Dmitri Gribenko authored
-
Ramkumar Ramachandra authored
Recently, 7f26c27e turned on SLP by default for RISC-V, and although there are quite a few tests for SLP under the X86/ target, it is unclear whether the same constructs would be vectorized on RISC-V. This patch takes a step in the direction of remedying this, by noticing that ctpop is often vectorized on RISC-V, and adding four tests for different integer widths.
-
- Sep 07, 2023
-
-
Benjamin Maxwell authored
This adds a lowering similar to the general shape_cast lowering, but instead moves elements a (scalable) subvector at a time via vector.scalable.extract/insert. It is restricted to the case where both the source and result vector types have a single trailing scalable dimension (due to limitations of the insert/extract ops). The current lowerings are now disabled for scalable vectors, as they produce incorrect results at runtime (due to assuming a fixed number of elements). Examples of casts that now work: // Flattening: %v = vector.shape_cast %arg0 : vector<4x[8]xi8> to vector<[32]xi8> // Un-flattening: %v = vector.shape_cast %arg0 : vector<[8]xi32> to vector<2x1x[4]xi32> Reviewed By: awarzynski, nicolasvasilache Differential Revision: https://reviews.llvm.org/D159217
-
Dimitry Andric authored
After many years of using the really old std::pair ABI which did not yet have a trivial copy constructor, FreeBSD 14 and later will finally get rid of it. Only use the old ABI for FreeBSD 13 and earlier. Note: on the FreeBSD side, we will bump our libc++.so version for this, and keep an old compatibility library in a separate package. Differential Revision: https://reviews.llvm.org/D126462
-
Guillaume Chatelet authored
-
Martin Erhart authored
[NFC][mlir][bufferization] Add paragraph about runtime and space cost to bufferization.dealloc op documentation (#65612)
-
bipmis authored
The icmp is being folded in phi only if they belong in the same BB. This patch extends the same beyond the BB. Have seen scenarios where this seems to be beneficial. Differential Revision: https://reviews.llvm.org/D157740
-
Dmitri Gribenko authored
-
Martin Erhart authored
This commit allows to omit insertion of the memref.dealloc operation when linalg.structured.bufferize_to_allocation is run and makes this the default behavior. This is desirable when the buffer-deallocation-pipeline is run after bufferization to handle buffer deallocation.
-
Vladislav Dzhidzhoev authored
-
Alex Bradbury authored
Prior to this patch, libcxx/test/libcxx/strings/basic.string/string.capacity/max_size.pass.cpp would fail for RISC-V. The __riscv macro is defined for both RV32 and RV64. Differential Revision: https://reviews.llvm.org/D143158
-
Guillaume Chatelet authored
-