[llvm-branch-commits] [llvm] release/19.x: Reland [llvm-ml] Fix RIP-relative addressing for ptr operands (#108061) (PR #109091)

2024-09-17 Thread Martin Storsjö via llvm-branch-commits
mstorsjo wrote: > @mstorsjo What do you think about merging this PR to the release branch? Should be good; it fixes https://github.com/llvm/llvm-project/issues/54773 (fixing building LLVM without requiring MSVC's ml64.exe), and doesn't regress the OpenMP build which also uses llvm-ml. It has s

[llvm-branch-commits] [llvm] release/19.x: Reland [llvm-ml] Fix RIP-relative addressing for ptr operands (#108061) (PR #109091)

2024-09-17 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-x86 Author: None (llvmbot) Changes Backport 7574e1ddc4be63628cb7617857cc8938058a79d2 Requested by: @mstorsjo --- Full diff: https://github.com/llvm/llvm-project/pull/109091.diff 2 Files Affected: - (modified) llvm/lib/Target/X86/AsmParser/X8

[llvm-branch-commits] [llvm] release/19.x: Reland [llvm-ml] Fix RIP-relative addressing for ptr operands (#108061) (PR #109091)

2024-09-17 Thread via llvm-branch-commits
llvmbot wrote: @mstorsjo What do you think about merging this PR to the release branch? https://github.com/llvm/llvm-project/pull/109091 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/list

[llvm-branch-commits] [llvm] release/19.x: Reland [llvm-ml] Fix RIP-relative addressing for ptr operands (#108061) (PR #109091)

2024-09-17 Thread via llvm-branch-commits
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/109091 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] release/19.x: Reland [llvm-ml] Fix RIP-relative addressing for ptr operands (#108061) (PR #109091)

2024-09-17 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/109091 Backport 7574e1ddc4be63628cb7617857cc8938058a79d2 Requested by: @mstorsjo >From c3e67c5d3054a727fefbd76b1f8a1c42908c3a45 Mon Sep 17 00:00:00 2001 From: Andrew Ng Date: Fri, 13 Sep 2024 12:19:42 +0100 Subject:

[llvm-branch-commits] [clang] release/19.x: [clang] Don't add DWARF debug info when assembling .s with clang-cl /Z7 (#106686) (PR #107146)

2024-09-17 Thread Martin Storsjö via llvm-branch-commits
mstorsjo wrote: With 19.1.0 out of the door, I think this one should be safe to merge now - it has brewed in git main for a couple of weeks without any reported breakage (other than the test fixups that are included). https://github.com/llvm/llvm-project/pull/107146 ___

[llvm-branch-commits] [llvm] [Attributor] Take the address space from addrspacecast directly (PR #108258)

2024-09-17 Thread Shilei Tian via llvm-branch-commits
https://github.com/shiltian edited https://github.com/llvm/llvm-project/pull/108258 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [Attributor] Take the address space from addrspacecast directly (PR #108258)

2024-09-17 Thread Shilei Tian via llvm-branch-commits
https://github.com/shiltian edited https://github.com/llvm/llvm-project/pull/108258 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] release/19.x: [C++20] [Modules] Treat in class defined member functions in language linkage as implicitly inline (PR #109077)

2024-09-17 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: None (llvmbot) Changes Backport 7046a9fb05f65f4699a2e88abbcb7dad8a21db2d Requested by: @ChuanqiXu9 --- Full diff: https://github.com/llvm/llvm-project/pull/109077.diff 2 Files Affected: - (modified) clang/lib/Sema/SemaDecl.cpp (+1-1)

[llvm-branch-commits] [clang] release/19.x: [C++20] [Modules] Treat constexpr/consteval member function as implicitly inline (PR #109076)

2024-09-17 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: None (llvmbot) Changes Backport 74ac96ae1a81c7ecc0e27ff6f45309cff1f2df97 Requested by: @ChuanqiXu9 --- Full diff: https://github.com/llvm/llvm-project/pull/109076.diff 2 Files Affected: - (modified) clang/lib/Sema/SemaDecl.cpp (+1) -

[llvm-branch-commits] [clang] release/19.x: [C++20] [Modules] Treat constexpr/consteval member function as implicitly inline (PR #109076)

2024-09-17 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang-modules Author: None (llvmbot) Changes Backport 74ac96ae1a81c7ecc0e27ff6f45309cff1f2df97 Requested by: @ChuanqiXu9 --- Full diff: https://github.com/llvm/llvm-project/pull/109076.diff 2 Files Affected: - (modified) clang/lib/Sema/SemaDecl.cpp

[llvm-branch-commits] [clang] release/19.x: [C++20] [Modules] Treat in class defined member functions in language linkage as implicitly inline (PR #109077)

2024-09-17 Thread via llvm-branch-commits
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/109077 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] release/19.x: [C++20] [Modules] Treat in class defined member functions in language linkage as implicitly inline (PR #109077)

2024-09-17 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/109077 Backport 7046a9fb05f65f4699a2e88abbcb7dad8a21db2d Requested by: @ChuanqiXu9 >From 304d73da27aae8c88080764225d10b61b65b5f5f Mon Sep 17 00:00:00 2001 From: Chuanqi Xu Date: Wed, 18 Sep 2024 10:07:57 +0800 Subjec

[llvm-branch-commits] [clang] release/19.x: [C++20] [Modules] Treat constexpr/consteval member function as implicitly inline (PR #109076)

2024-09-17 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/109076 Backport 74ac96ae1a81c7ecc0e27ff6f45309cff1f2df97 Requested by: @ChuanqiXu9 >From 26d5adcf1b4b9930db2a0f17257a66756557cbfb Mon Sep 17 00:00:00 2001 From: Chuanqi Xu Date: Mon, 9 Sep 2024 11:23:47 +0800 Subject

[llvm-branch-commits] [clang] release/19.x: [C++20] [Modules] Treat constexpr/consteval member function as implicitly inline (PR #109076)

2024-09-17 Thread via llvm-branch-commits
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/109076 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [Attributor] Take the address space from addrspacecast directly (PR #108258)

2024-09-17 Thread Shilei Tian via llvm-branch-commits
https://github.com/shiltian updated https://github.com/llvm/llvm-project/pull/108258 >From 1b060670b1e364879f6039a243b67adfc03731d1 Mon Sep 17 00:00:00 2001 From: Shilei Tian Date: Wed, 11 Sep 2024 12:23:32 -0400 Subject: [PATCH] [Attributor] Take the address space from addrspacecast directly

[llvm-branch-commits] [llvm] [Attributor] Use more appropriate approach to check flat address space (PR #108713)

2024-09-17 Thread Shilei Tian via llvm-branch-commits
https://github.com/shiltian edited https://github.com/llvm/llvm-project/pull/108713 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [Attributor] Use more appropriate approach to check flat address space (PR #108713)

2024-09-17 Thread Shilei Tian via llvm-branch-commits
https://github.com/shiltian updated https://github.com/llvm/llvm-project/pull/108713 >From 6356a1548c7c91b44d48159c666abb07df307e9a Mon Sep 17 00:00:00 2001 From: Shilei Tian Date: Thu, 12 Sep 2024 15:25:43 -0400 Subject: [PATCH] [Attributor] Use more appropriate approach to check flat address

[llvm-branch-commits] [llvm] [Attributor] Take the address space from addrspacecast directly (PR #108258)

2024-09-17 Thread Shilei Tian via llvm-branch-commits
https://github.com/shiltian updated https://github.com/llvm/llvm-project/pull/108258 >From dd7eeb45bd239f9910421afef3143d1ae621538c Mon Sep 17 00:00:00 2001 From: Shilei Tian Date: Wed, 11 Sep 2024 12:23:32 -0400 Subject: [PATCH] [Attributor] Take the address space from addrspacecast directly

[llvm-branch-commits] [llvm] [Attributor] Use more appropriate approach to check flat address space (PR #108713)

2024-09-17 Thread Shilei Tian via llvm-branch-commits
https://github.com/shiltian updated https://github.com/llvm/llvm-project/pull/108713 >From 7da66b7196f14567ac3bfc59faeb61a6b80bd6a6 Mon Sep 17 00:00:00 2001 From: Shilei Tian Date: Thu, 12 Sep 2024 15:25:43 -0400 Subject: [PATCH] [Attributor] Use more appropriate approach to check flat address

[llvm-branch-commits] [llvm] [TargetTransformInfo] Remove `getFlatAddressSpace` (PR #108787)

2024-09-17 Thread Shilei Tian via llvm-branch-commits
https://github.com/shiltian updated https://github.com/llvm/llvm-project/pull/108787 >From f2331fc099d59726b891bb7bdbf6e61ea9e4 Mon Sep 17 00:00:00 2001 From: Shilei Tian Date: Sun, 15 Sep 2024 23:06:14 -0400 Subject: [PATCH] [TargetTransformInfo] Remove `getFlatAddressSpace` This has been

[llvm-branch-commits] [llvm] release/19.x: [LoongArch] Codegen for concat_vectors with LASX (PR #107948)

2024-09-17 Thread via llvm-branch-commits
wangleiat wrote: I'm very sorry for the late reply due to the holiday. > Is this PR a fix for a regression or a critical issue? Yes, this is a critical issue. Without this patch, the compilation may hang when lasx is enabled. > What is the risk of accepting this into the release branch? No r

[llvm-branch-commits] [llvm] [BOLT] Add profile density computation (PR #101094)

2024-09-17 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov updated https://github.com/llvm/llvm-project/pull/101094 >From f598510001859a29f6f1ff6362fb9950ab6340cd Mon Sep 17 00:00:00 2001 From: Amir Ayupov Date: Mon, 29 Jul 2024 16:14:08 -0700 Subject: [PATCH 1/4] Update test to check the option with llvm-bolt with fdata, YAM

[llvm-branch-commits] [llvm] [BOLT] Add profile density computation (PR #101094)

2024-09-17 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov updated https://github.com/llvm/llvm-project/pull/101094 >From f598510001859a29f6f1ff6362fb9950ab6340cd Mon Sep 17 00:00:00 2001 From: Amir Ayupov Date: Mon, 29 Jul 2024 16:14:08 -0700 Subject: [PATCH 1/4] Update test to check the option with llvm-bolt with fdata, YAM

[llvm-branch-commits] [BOLT] Set RawBranchCount in DataAggregator (PR #101093)

2024-09-17 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov updated https://github.com/llvm/llvm-project/pull/101093 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [BOLT] Set RawBranchCount in DataAggregator (PR #101093)

2024-09-17 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov updated https://github.com/llvm/llvm-project/pull/101093 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] release/19.x: [bolt][tests] Skip tests that use perf when perf counters are unavailable (#107892) (PR #109072)

2024-09-17 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-bolt Author: None (llvmbot) Changes Backport 773353b20a49bfa0dab608d415c1b4734d037fce Requested by: @tstellar --- Full diff: https://github.com/llvm/llvm-project/pull/109072.diff 1 Files Affected: - (modified) bolt/test/perf2bolt/lit.local.cfg (+3-2

[llvm-branch-commits] [llvm] release/19.x: [bolt][tests] Skip tests that use perf when perf counters are unavailable (#107892) (PR #109072)

2024-09-17 Thread via llvm-branch-commits
llvmbot wrote: @rafaelauler What do you think about merging this PR to the release branch? https://github.com/llvm/llvm-project/pull/109072 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/l

[llvm-branch-commits] [llvm] release/19.x: [bolt][tests] Skip tests that use perf when perf counters are unavailable (#107892) (PR #109072)

2024-09-17 Thread via llvm-branch-commits
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/109072 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] release/19.x: [bolt][tests] Skip tests that use perf when perf counters are unavailable (#107892) (PR #109072)

2024-09-17 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/109072 Backport 773353b20a49bfa0dab608d415c1b4734d037fce Requested by: @tstellar >From 556f371381ba68d0c84a0f55c6535013e8950cd4 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Tue, 17 Sep 2024 17:07:35 -0700 Subjec

[llvm-branch-commits] [clang] [llvm] release/19.x: workflows/release-binaries: Enable flang builds on Windows (#101344) (PR #106480)

2024-09-17 Thread Tom Stellard via llvm-branch-commits
tstellar wrote: I think we should merge this. The mac builds tend to be inconsistent, we may need to move them to the paid runners, but at least this will fix the Windows builds. https://github.com/llvm/llvm-project/pull/106480 ___ llvm-branch-commi

[llvm-branch-commits] [llvm] e210421 - Revert "[SandboxVec] Add barebones Region class. (#108899)"

2024-09-17 Thread via llvm-branch-commits
Author: Jorge Gorbe Moya Date: 2024-09-17T15:44:57-07:00 New Revision: e210421f51e99694bd26c58be2525bc2db8c3146 URL: https://github.com/llvm/llvm-project/commit/e210421f51e99694bd26c58be2525bc2db8c3146 DIFF: https://github.com/llvm/llvm-project/commit/e210421f51e99694bd26c58be2525bc2db8c3146.di

[llvm-branch-commits] [NFC][sanitizer] Move InitTlsSize (PR #108922)

2024-09-17 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka edited https://github.com/llvm/llvm-project/pull/108922 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [ADT] Use range-based helper functions in SmallSet (PR #108585)

2024-09-17 Thread David Blaikie via llvm-branch-commits
https://github.com/dwblaikie edited https://github.com/llvm/llvm-project/pull/108585 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [ADT] Use range-based helper functions in SmallSet (PR #108585)

2024-09-17 Thread David Blaikie via llvm-branch-commits
@@ -234,19 +225,12 @@ class SmallSet { /// Check if the SmallSet contains the given element. bool contains(const T &V) const { if (isSmall()) - return vfind(V) != Vector.end(); -return Set.find(V) != Set.end(); + return llvm::is_contained(Vector, V); +

[llvm-branch-commits] [clang] [compiler-rt] [llvm] [X86] AMD Zen 5 Initial enablement (PR #108816)

2024-09-17 Thread Simon Pilgrim via llvm-branch-commits
RKSimon wrote: LLVM Release Notes: ``` Changes to the X86 Backend -mcpu=znver5 is now supported. ``` Clang Release Notes: ``` X86 Support -march=znver5 is now supported ``` @ganeshgit Are you happy with this? https://github.com/llvm/llvm-project/pull/108816 __

[llvm-branch-commits] [libcxx] [libc++][format][3/3] Improves formatting performance. (PR #108990)

2024-09-17 Thread Louis Dionne via llvm-branch-commits
@@ -319,188 +353,222 @@ struct _LIBCPP_TEMPLATE_VIS __back_insert_iterator_container -class _LIBCPP_TEMPLATE_VIS __writer_container { +// A dynamically growing buffer. +template <__fmt_char_type _CharT> +class _LIBCPP_TEMPLATE_VIS __allocating_buffer : public __output_buffer<_Ch

[llvm-branch-commits] [libcxx] [libc++][format][3/3] Improves formatting performance. (PR #108990)

2024-09-17 Thread Louis Dionne via llvm-branch-commits
@@ -53,24 +56,150 @@ _LIBCPP_BEGIN_NAMESPACE_STD namespace __format { +// A helper to limit the total size of code units written. +class _LIBCPP_HIDE_FROM_ABI __max_output_size { +public: + [[nodiscard]] _LIBCPP_HIDE_FROM_ABI explicit __max_output_size(size_t __max_size) :

[llvm-branch-commits] [libcxx] [libc++][format][3/3] Improves formatting performance. (PR #108990)

2024-09-17 Thread Louis Dionne via llvm-branch-commits
@@ -319,188 +353,222 @@ struct _LIBCPP_TEMPLATE_VIS __back_insert_iterator_container -class _LIBCPP_TEMPLATE_VIS __writer_container { +// A dynamically growing buffer. +template <__fmt_char_type _CharT> +class _LIBCPP_TEMPLATE_VIS __allocating_buffer : public __output_buffer<_Ch

[llvm-branch-commits] [libcxx] [libc++][format][3/3] Improves formatting performance. (PR #108990)

2024-09-17 Thread Louis Dionne via llvm-branch-commits
@@ -245,21 +245,11 @@ experimental/simd limits experimental/utility utility filesystem compare filesystem concepts -filesystem cstddef ldionne wrote: These transitive includes should probably not need to change. If they do change, we should add includes to th

[llvm-branch-commits] [libcxx] [libc++][format][3/3] Improves formatting performance. (PR #108990)

2024-09-17 Thread Louis Dionne via llvm-branch-commits
https://github.com/ldionne edited https://github.com/llvm/llvm-project/pull/108990 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [libcxx] [libc++][format][3/3] Improves formatting performance. (PR #108990)

2024-09-17 Thread Louis Dionne via llvm-branch-commits
@@ -53,24 +56,150 @@ _LIBCPP_BEGIN_NAMESPACE_STD namespace __format { +// A helper to limit the total size of code units written. +class _LIBCPP_HIDE_FROM_ABI __max_output_size { +public: + [[nodiscard]] _LIBCPP_HIDE_FROM_ABI explicit __max_output_size(size_t __max_size) :

[llvm-branch-commits] [libcxx] [libc++][format][3/3] Improves formatting performance. (PR #108990)

2024-09-17 Thread Louis Dionne via llvm-branch-commits
@@ -53,24 +56,150 @@ _LIBCPP_BEGIN_NAMESPACE_STD namespace __format { +// A helper to limit the total size of code units written. +class _LIBCPP_HIDE_FROM_ABI __max_output_size { +public: + [[nodiscard]] _LIBCPP_HIDE_FROM_ABI explicit __max_output_size(size_t __max_size) :

[llvm-branch-commits] [libcxx] [libc++][format][3/3] Improves formatting performance. (PR #108990)

2024-09-17 Thread Louis Dionne via llvm-branch-commits
@@ -53,24 +56,150 @@ _LIBCPP_BEGIN_NAMESPACE_STD namespace __format { +// A helper to limit the total size of code units written. +class _LIBCPP_HIDE_FROM_ABI __max_output_size { +public: + [[nodiscard]] _LIBCPP_HIDE_FROM_ABI explicit __max_output_size(size_t __max_size) :

[llvm-branch-commits] [libcxx] [libc++][format][3/3] Improves formatting performance. (PR #108990)

2024-09-17 Thread Louis Dionne via llvm-branch-commits
https://github.com/ldionne commented: I have some minor comments but this looks really good! https://github.com/llvm/llvm-project/pull/108990 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman

[llvm-branch-commits] [libcxx] [libc++][format][3/3] Improves formatting performance. (PR #108990)

2024-09-17 Thread Louis Dionne via llvm-branch-commits
@@ -53,24 +56,150 @@ _LIBCPP_BEGIN_NAMESPACE_STD namespace __format { +// A helper to limit the total size of code units written. +class _LIBCPP_HIDE_FROM_ABI __max_output_size { +public: + [[nodiscard]] _LIBCPP_HIDE_FROM_ABI explicit __max_output_size(size_t __max_size) :

[llvm-branch-commits] [libcxx] [libc++][format][3/3] Improves formatting performance. (PR #108990)

2024-09-17 Thread Louis Dionne via llvm-branch-commits
@@ -319,188 +353,222 @@ struct _LIBCPP_TEMPLATE_VIS __back_insert_iterator_container -class _LIBCPP_TEMPLATE_VIS __writer_container { +// A dynamically growing buffer. +template <__fmt_char_type _CharT> +class _LIBCPP_TEMPLATE_VIS __allocating_buffer : public __output_buffer<_Ch

[llvm-branch-commits] [libcxx] [libc++][C++03] Fix libc++ includes (PR #109000)

2024-09-17 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-libcxx Author: Nikolas Klauser (philnik777) Changes --- Patch is 1.15 MiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/109000.diff 1010 Files Affected: - (modified) libcxx/include/__cxx03/__algorithm/adjac

[llvm-branch-commits] [libcxx] [libc++][C++03] Update include guards (PR #109001)

2024-09-17 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-libcxx Author: Nikolas Klauser (philnik777) Changes --- Patch is 1.10 MiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/109001.diff 1015 Files Affected: - (modified) libcxx/include/__cxx03/__algorithm/adjac

[llvm-branch-commits] [libcxx] [llvm] [libc++][C++03] Use `__cxx03/` headers in C++03 mode (PR #109002)

2024-09-17 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-github-workflow Author: Nikolas Klauser (philnik777) Changes --- Patch is 902.01 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/109002.diff 131 Files Affected: - (modified) .github/workflows/libcxx-build

[llvm-branch-commits] [libcxx] [libc++][C++03] Update include guards (PR #109001)

2024-09-17 Thread Nikolas Klauser via llvm-branch-commits
https://github.com/philnik777 ready_for_review https://github.com/llvm/llvm-project/pull/109001 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [libcxx] [llvm] [libc++][C++03] Use `__cxx03/` headers in C++03 mode (PR #109002)

2024-09-17 Thread Nikolas Klauser via llvm-branch-commits
https://github.com/philnik777 ready_for_review https://github.com/llvm/llvm-project/pull/109002 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [libcxx] [libc++][C++03] Fix libc++ includes (PR #109000)

2024-09-17 Thread Nikolas Klauser via llvm-branch-commits
https://github.com/philnik777 ready_for_review https://github.com/llvm/llvm-project/pull/109000 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [libcxx] [llvm] [libc++][C++03] Use `__cxx03/` headers in C++03 mode (PR #109002)

2024-09-17 Thread via llvm-branch-commits
github-actions[bot] wrote: :warning: C/C++ code formatter, clang-format found issues in your code. :warning: You can test this locally with the following command: ``bash git-clang-format --diff e888ef35e747287df8b3f79778f40a001e445735 4d02649d3a1765a02bf41e8e04a585856d85b8d4 --e

[llvm-branch-commits] [libcxx] [libc++][C++03] Fix libc++ includes (PR #109000)

2024-09-17 Thread via llvm-branch-commits
github-actions[bot] wrote: :warning: C/C++ code formatter, clang-format found issues in your code. :warning: You can test this locally with the following command: ``bash git-clang-format --diff 0dcf755a3e8fe605a5c6546c84997885ffc96b1a a5c77e50635272437d85ca37fb19f61dd7704215 --e

[llvm-branch-commits] [libcxx] [llvm] [libc++][C++03] Use `__cxx03/` headers in C++03 mode (PR #109002)

2024-09-17 Thread Nikolas Klauser via llvm-branch-commits
philnik777 wrote: > [!WARNING] > This pull request is not mergeable via GitHub because a downstack PR is > open. Once all requirements are satisfied, merge this PR as a stack href="https://app.graphite.dev/github/pr/llvm/llvm-project/109002?utm_source=stack-comment-downstack-mergeability-warnin

[llvm-branch-commits] [libcxx] [libc++][C++03] Update include guards (PR #109001)

2024-09-17 Thread Nikolas Klauser via llvm-branch-commits
philnik777 wrote: > [!WARNING] > This pull request is not mergeable via GitHub because a downstack PR is > open. Once all requirements are satisfied, merge this PR as a stack href="https://app.graphite.dev/github/pr/llvm/llvm-project/109001?utm_source=stack-comment-downstack-mergeability-warnin

[llvm-branch-commits] [libcxx] [libc++][C++03] Fix libc++ includes (PR #109000)

2024-09-17 Thread Nikolas Klauser via llvm-branch-commits
philnik777 wrote: > [!WARNING] > This pull request is not mergeable via GitHub because a downstack PR is > open. Once all requirements are satisfied, merge this PR as a stack href="https://app.graphite.dev/github/pr/llvm/llvm-project/109000?utm_source=stack-comment-downstack-mergeability-warnin

[llvm-branch-commits] [libcxx] [libc++][format][3/3] Improves formatting performance. (PR #108990)

2024-09-17 Thread Louis Dionne via llvm-branch-commits
https://github.com/ldionne edited https://github.com/llvm/llvm-project/pull/108990 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [libc] [libc][math][c23] Add log10f16 C23 math function (PR #106091)

2024-09-17 Thread Schrodinger ZHU Yifan via llvm-branch-commits
https://github.com/SchrodingerZhu updated https://github.com/llvm/llvm-project/pull/106091 >From 57972717618c3d4ccc836c81fdbf3a66c6da53fa Mon Sep 17 00:00:00 2001 From: OverMighty Date: Mon, 26 Aug 2024 17:23:01 +0200 Subject: [PATCH 1/2] [libc][math][c23] Add log10f16 C23 math function Part o

[llvm-branch-commits] [libc] [libc][math][c23] Add sqrtf16 C23 math function (PR #106102)

2024-09-17 Thread Schrodinger ZHU Yifan via llvm-branch-commits
https://github.com/SchrodingerZhu closed https://github.com/llvm/llvm-project/pull/106102 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [libc] [libc][math][c23] Add sqrtf16 C23 math function (PR #106102)

2024-09-17 Thread Schrodinger ZHU Yifan via llvm-branch-commits
SchrodingerZhu wrote: merge based on previous approval https://github.com/llvm/llvm-project/pull/106102 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [libcxx] [libc++][format][2/7] Optimizes c-string arguments. (PR #101805)

2024-09-17 Thread Nikolas Klauser via llvm-branch-commits
philnik777 wrote: It's also worth noting that compilers can constant-fold `strlen`, so in cases where the string is known this doesn't even result in multiple iterations. https://github.com/llvm/llvm-project/pull/101805 ___ llvm-branch-commits mailing

[llvm-branch-commits] [libcxx] [libc++][format][3/3] Improves formatting performance. (PR #108990)

2024-09-17 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-libcxx Author: Mark de Wever (mordante) Changes This changes the __output_buffer to a new structure. This improves the performace of std::format, std::format_to, std::format_to_n, and std::foramtted size. --- Patch is 42.48 KiB, truncated to 20.00 Ki

[llvm-branch-commits] [libcxx] [libc++][format][3/3] Improves formatting performance. (PR #108990)

2024-09-17 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante created https://github.com/llvm/llvm-project/pull/108990 This changes the __output_buffer to a new structure. This improves the performace of std::format, std::format_to, std::format_to_n, and std::foramtted size. >From e9cb2219350496392980b6347d30f6a34abe2197 Mon

[llvm-branch-commits] [libcxx] [libc++][format][2/7] Optimizes c-string arguments. (PR #101805)

2024-09-17 Thread Mark de Wever via llvm-branch-commits
https://github.com/mordante updated https://github.com/llvm/llvm-project/pull/101805 >From 9c7c29854dd7446c730bb4d15a97a58a829dfa47 Mon Sep 17 00:00:00 2001 From: Mark de Wever Date: Sat, 30 Mar 2024 17:35:56 +0100 Subject: [PATCH] [libc++][format][2/7] Optimizes c-string arguments. The format

[llvm-branch-commits] [llvm] [ADT] Use range-based helper functions in SmallSet (PR #108585)

2024-09-17 Thread Victor Campos via llvm-branch-commits
vhscampos wrote: Given that this change isn't exactly agreeable, I plan to change it to a PR to make SmallSet not use `STLExtras.h` at all. https://github.com/llvm/llvm-project/pull/108585 ___ llvm-branch-commits mailing list llvm-branch-commits@lists

[llvm-branch-commits] [llvm] [ADT] Use perfect forwarding in SmallSet::insert() (PR #108590)

2024-09-17 Thread Jakub Kuderski via llvm-branch-commits
https://github.com/kuhar approved this pull request. https://github.com/llvm/llvm-project/pull/108590 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [ADT] Use range-based helper functions in SmallSet (PR #108585)

2024-09-17 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic edited https://github.com/llvm/llvm-project/pull/108585 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [ADT] Use range-based helper functions in SmallSet (PR #108585)

2024-09-17 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic edited https://github.com/llvm/llvm-project/pull/108585 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [ADT] Use range-based helper functions in SmallSet (PR #108585)

2024-09-17 Thread Nikita Popov via llvm-branch-commits
@@ -234,19 +225,12 @@ class SmallSet { /// Check if the SmallSet contains the given element. bool contains(const T &V) const { if (isSmall()) - return vfind(V) != Vector.end(); -return Set.find(V) != Set.end(); + return llvm::is_contained(Vector, V); +

[llvm-branch-commits] [llvm] [ADT] Use perfect forwarding in SmallSet::insert() (PR #108590)

2024-09-17 Thread Victor Campos via llvm-branch-commits
https://github.com/vhscampos updated https://github.com/llvm/llvm-project/pull/108590 >From e0295a14694c5bba65a873914eb700b201e94b6a Mon Sep 17 00:00:00 2001 From: Victor Campos Date: Fri, 9 Aug 2024 13:57:42 +0100 Subject: [PATCH 1/3] [ADT] Use perfect forwarding in SmallSet::insert() Previou

[llvm-branch-commits] [llvm] [ADT] Use range-based helper functions in SmallSet (PR #108585)

2024-09-17 Thread Victor Campos via llvm-branch-commits
@@ -234,19 +225,12 @@ class SmallSet { /// Check if the SmallSet contains the given element. bool contains(const T &V) const { if (isSmall()) - return vfind(V) != Vector.end(); -return Set.find(V) != Set.end(); + return llvm::is_contained(Vector, V); +

[llvm-branch-commits] [llvm] [ADT] Use range-based helper functions in SmallSet (PR #108585)

2024-09-17 Thread Jakub Kuderski via llvm-branch-commits
@@ -234,19 +225,12 @@ class SmallSet { /// Check if the SmallSet contains the given element. bool contains(const T &V) const { if (isSmall()) - return vfind(V) != Vector.end(); -return Set.find(V) != Set.end(); + return llvm::is_contained(Vector, V); +

[llvm-branch-commits] [llvm] [ADT] Use range-based helper functions in SmallSet (PR #108585)

2024-09-17 Thread Victor Campos via llvm-branch-commits
@@ -234,19 +225,12 @@ class SmallSet { /// Check if the SmallSet contains the given element. bool contains(const T &V) const { if (isSmall()) - return vfind(V) != Vector.end(); -return Set.find(V) != Set.end(); + return llvm::is_contained(Vector, V); +

[llvm-branch-commits] [llvm] [ADT] Use range-based helper functions in SmallSet (PR #108585)

2024-09-17 Thread Victor Campos via llvm-branch-commits
vhscampos wrote: > I'm slightly opposed to this change because it pulls in STLExtras.h. Yes, it > is already included, but it would be better to avoid including it. Why is including `STLExtras.h` a problem? https://github.com/llvm/llvm-project/pull/108585 __

[llvm-branch-commits] [llvm] release/19.x: [AVR] Fix 16-bit LDDs with immediate overflows (#104923) (PR #106993)

2024-09-17 Thread Tobias Hieta via llvm-branch-commits
tru wrote: Unfortunately the tree was unstable right before release, so I had to direct my attention to reverting some patches instead of merging new ones. This will land in 19.1.1 instead. https://github.com/llvm/llvm-project/pull/106993 ___ llvm-br

[llvm-branch-commits] [llvm] bd4ff65 - Revert "[LoongArch] Eliminate the redundant sign extension of division (#107971)"

2024-09-17 Thread Tobias Hieta via llvm-branch-commits
Author: Tobias Hieta Date: 2024-09-17T09:39:01+02:00 New Revision: bd4ff65a601895ba816623cddb36ce466cceabe6 URL: https://github.com/llvm/llvm-project/commit/bd4ff65a601895ba816623cddb36ce466cceabe6 DIFF: https://github.com/llvm/llvm-project/commit/bd4ff65a601895ba816623cddb36ce466cceabe6.diff

[llvm-branch-commits] [llvm] 560ed04 - Revert " [LoongArch][ISel] Check the number of sign bits in `PatGprGpr_32` (#107432)"

2024-09-17 Thread Tobias Hieta via llvm-branch-commits
Author: Tobias Hieta Date: 2024-09-17T09:39:18+02:00 New Revision: 560ed047d183348b341ffd4e27712c254d82f589 URL: https://github.com/llvm/llvm-project/commit/560ed047d183348b341ffd4e27712c254d82f589 DIFF: https://github.com/llvm/llvm-project/commit/560ed047d183348b341ffd4e27712c254d82f589.diff

[llvm-branch-commits] [llvm] release/19.x: [PowerPC] Fix assert exposed by PR 95931 in LowerBITCAST (#108062) (PR #108834)

2024-09-17 Thread Tobias Hieta via llvm-branch-commits
tru wrote: I am pretty sure this is not the PR that broke the tests since all the failures are related to LoongArch. I will try to revert some of the loongarch commits locally. https://github.com/llvm/llvm-project/pull/108834 ___ llvm-branch-commits