- Apr 15, 2023
-
-
Matt Arsenault authored
-
Matt Arsenault authored
-
Matt Arsenault authored
Avoids some regressions when the implementation of isKnownNeverNaN is replaced with computeKnownFPClass.
-
Mohammed Keyvanzadeh authored
- Update the `actions/download-artifact` action to version 3. - Use the major version of an action instead of specifying the minor or patch versions. Differential Revision: https://reviews.llvm.org/D148327
-
Louis Dionne authored
99e52b68 re-generated that file with a clang-format version that differs from the CI's clang-format, leading to CI breakage.
-
Nathan Sidwell authored
(a) Treat name as unsigned chars. (b) Refactor for better optimization of main loop. Differential Revision: https://reviews.llvm.org/D147890
-
Owen Pan authored
Fixes #62107. Differential Revision: https://reviews.llvm.org/D148200
-
LLVM GN Syncbot authored
-
Florian Mayer authored
Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D148376
-
Nick Desaulniers authored
std::string_view::starts_with isn't available until C++20. Create llvm::starts_with for now; we can delete this when LLVM moves to C++20 one day. To run the newly added unit test: $ cd llvm/build; ninja ADTTests; cd - $ ./llvm/build/unittests/ADT/ADTTests --gtest_filter=StringViewExtrasTest.\* Reviewed By: MaskRay, erichkeane Differential Revision: https://reviews.llvm.org/D148367
-
Dávid Bolvanský authored
-
Matt Arsenault authored
-
Matt Arsenault authored
-
Joseph Huber authored
Summary: We can detect the user's GPUs via the `auto` option. But if the user has multiple GPUs installed or set the list incorrectly, we need to remove the duplicates.
-
Joseph Huber authored
Summary: When we detect the architectures via `native` we can have systems with multiple of the same GPU. We need to remove duplicates or else we will try to build the same target multiple times.
-
Nick Desaulniers authored
Towards converting our use of llvm::StringView to std::string_view, remove a method that std::string_view doesn't have. llvm::StringView::popFront is similar to std::string_view::remove_prefix but with a reference to std::string_view::front taken first. Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D148363
-
Jingu Kang authored
This patch precommits a test for: https://reviews.llvm.org/D148347
-
max authored
Differential Revision: https://reviews.llvm.org/D147758
-
Chia-hung Duan authored
This is used to make MemMapDefault be compliant with legacy APIs. Reviewed By: fabio-d Differential Revision: https://reviews.llvm.org/D148141
-
Alex Brachet authored
Differential Revision: https://reviews.llvm.org/D139949
-
Dimitry Andric authored
While doing a test-release.sh run on FreeBSD, I ran into a sed error due to the introduction of the GNU extension '\s' in commit 500587e2. Scanning for blanks (spaces and tabs) could be done in a more portable fashion using the [[:blank:]] character class. But it is easier to avoid the original problem, which is that the projects and runtime lists have to be separated by semicolons, and cannot start with a semicolon. Instead, use the shell's alternate value parameter expansion mechanism, which makes it easy to append items to lists with separators in between, and without any leading separator. This also avoids having to run sed on the end result. In addition, build any selected runtimes in the second phase, otherwise the third phase can fail to find several symbols in compiler-rt, if that has been built. This is because the host's compiler-rt is not guaranteed to have those symbols. Reviewed By: tstellar Differential Revision: https://reviews.llvm.org/D145884
-
Thurston Dang authored
This changes the sanitizers' tls_get_addr handling from a heuristic check of __signal_safe_memalign allocations (which has only been used in a since deprecated version of Google's runtime), to using the sanitizers' interface function to check if it is a malloc allocation (used since glibc >= 2.25). This is one of the approaches proposed by Keno in https://github.com/google/sanitizers/issues/1409#issuecomment-1214244142 This moves the weak annotation of __sanitizer_get_allocated_size/begin from the header to sanitizer_tls_get_addr.cpp, as suggested by Vitaly in D148060. Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D147459
-
Christian Sigg authored
Add missing dependency.
-
Matt Arsenault authored
Handle nan.
-
Matt Arsenault authored
-
Matt Arsenault authored
-
Matt Arsenault authored
-
Matt Arsenault authored
-
Shivam Gupta authored
This fix https://github.com/llvm/llvm-project/issues/61934 By default, the width property is used to set the width of a table column. However, if the content of a cell in that column is wider than the width specified by the width property, the cell's content will overflow the column and the table will become wider than the specified width. This causes the version numbers to be displayed outside of their table cells. Using the min-width property instead of width ensures that the column is wide enough to accommodate the content of its cells. If a cell's content is wider than the specified min-width, the column will expand to fit the content.
-
Hanhan Wang authored
Reviewed By: chelini Differential Revision: https://reviews.llvm.org/D148061
-
Nick Desaulniers authored
Towards replacing llvm::StringView with std::string_view, remove ctor that std::string_view doesn't have an analog for. Reviewed By: erichkeane, MaskRay Differential Revision: https://reviews.llvm.org/D148353
-
Noah Goldstein authored
Make the fold use the information present in the condition for deducing constants i.e: ``` %c = icmp eq i8 %x, 10 %s = select i1 %c, i8 3, i8 2 %r = mul i8 %x, %s ``` If we fold the `mul` into the select, on the true side we insert `10` for `%x` in the `mul`. Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D146349
-
Noah Goldstein authored
Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D148180
-
Noah Goldstein authored
Just seemed to be missing an assertion. Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D148289
-
Noah Goldstein authored
Just add `__llvm_libc::` to makes things clearer. Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D148292
-
Craig Topper authored
An intrusive reference counter uses less memory than the control block of std::shared_ptr. This should allow some additional code simplifications if we don't need to pass around shared_ptr in order to create new shared_ptrs.
-
LLVM GN Syncbot authored
-
Jorge Pinto Sousa authored
The clang-tidy documentation contained: > MS Visual Studio has a native clang-tidy-vs plugin This plugin was removed via 559ae14c. Fixes: https://github.com/llvm/llvm-project/issues/62142 Reviewed By: PiotrZSL Differential Revision: https://reviews.llvm.org/D148354
-
Douglas Chen authored
Improve the (`D144510`)[https://reviews.llvm.org/D144510] patch with prefix string. Using "my" instead of "cust" would increase readability. Take some examples: - const char* `custszNamePtr` = "Name"; --> `myszNamePtr` - uint8_t `custu8ValueU8` = 0; --> `myu8ValueU8` - DWORD `custdwMsDword` = 0; --> `mydwMsDword` Reviewed By: PiotrZSL Differential Revision: https://reviews.llvm.org/D148314
-
AMS21 authored
[clang-tidy] Fix false positve for defaulted move constructor in performance-noexcept-move-constructor Previously a struct like this: template <typename> struct A { A(A&&) = default; }; Would trigger a false positive, since even though it is not marked as noexcept it still is due to the `= default`. Now we only give a warning if the defaulted move constructor is actually declared as throwing and correctly resolve it if they are defaulted. This fixes llvm#56026, llvm#41414, llvm#38081 Reviewed By: PiotrZSL Differential Revision: https://reviews.llvm.org/D146922
-