[llvm-branch-commits] [libcxx] [libc++] Implement std::move_only_function (P0288R9) (PR #94670)

2024-06-07 Thread via llvm-branch-commits
EricWF wrote: Oh, I just noticed there are no tests for exception safety. Could you please add some throwing types? (Or perhaps I just missed those tests?). Currently this code terminates: ``` #include #include struct ThrowsOnConstruct { explicit ThrowsOnConstruct(int x) : value(x) { if (x

[llvm-branch-commits] [libcxx] [libc++] Implement std::move_only_function (P0288R9) (PR #94670)

2024-06-07 Thread via llvm-branch-commits
@@ -0,0 +1,233 @@ +//===--===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apa

[llvm-branch-commits] [flang] [flang] Lower REDUCE intrinsic with DIM argument (PR #94771)

2024-06-07 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-flang-fir-hlfir Author: Valentin Clement (バレンタイン クレメン) (clementval) Changes This is a follow up patch to #94652 and handles the lowering of the reduce intrinsic with DIM argument and non scalar result. --- Full diff: https://github.com/llvm/llvm-proje

[llvm-branch-commits] [libcxx] [libc++] Implement std::move_only_function (P0288R9) (PR #94670)

2024-06-07 Thread via llvm-branch-commits
https://github.com/huixie90 edited https://github.com/llvm/llvm-project/pull/94670 ___ 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] [flang] [flang] Lower REDUCE intrinsic with DIM argument (PR #94771)

2024-06-07 Thread via llvm-branch-commits
Valentin Clement =?utf-8?b?KOODkOODrOODsw==?=,Valentin Clement Message-ID: In-Reply-To: https://github.com/jeanPerier approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/94771 ___ llvm-branch-commits mailing list llvm-branch-

[llvm-branch-commits] [flang] [flang] Lower REDUCE intrinsic with DIM argument (PR #94771)

2024-06-07 Thread via llvm-branch-commits
Valentin Clement =?utf-8?b?KOODkOODrOODsw=?=,Valentin Clement Message-ID: In-Reply-To: jeanPerier wrote: Beware that the windows failure seems related to this change or the previous one: ``` C:\ws\src\flang\lib\Optimizer\Builder\Runtime\Reduction.cpp(1499): error C2065: '_FortranAReduceRea

[llvm-branch-commits] [lld] acb7210 - Revert "[lld][AArch64][ELF][PAC] Support `.relr.auth.dyn` section (#87635)"

2024-06-07 Thread via llvm-branch-commits
Author: Daniil Kovalev Date: 2024-06-08T09:21:11+03:00 New Revision: acb7210fdeaf3ddf80e28cfc0e1faefc939478cf URL: https://github.com/llvm/llvm-project/commit/acb7210fdeaf3ddf80e28cfc0e1faefc939478cf DIFF: https://github.com/llvm/llvm-project/commit/acb7210fdeaf3ddf80e28cfc0e1faefc939478cf.diff

[llvm-branch-commits] [msan] Implement shadow propagation for _mm_dp_pd, _mm_dp_ps, _mm256_dp_ps (PR #94875)

2024-06-08 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-compiler-rt-sanitizer @llvm/pr-subscribers-llvm-transforms Author: Vitaly Buka (vitalybuka) Changes Default intrinsic handling was to report any uninitialized part of argument. However intrinsics use mask which allow to ignore parts of input, so it's OK

[llvm-branch-commits] [NFC][msan] Prepare function to extract main logic (PR #94880)

2024-06-08 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-transforms Author: Vitaly Buka (vitalybuka) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/94880.diff 1 Files Affected: - (modified) llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp (+6-4) ``diff diff --git a

[llvm-branch-commits] [NFC][msan] Extract `handleSelectLikeInst` (PR #94881)

2024-06-08 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-transforms Author: Vitaly Buka (vitalybuka) Changes `blendv` instructions are very similar to `select`. We will add support for them in followup patches. --- Full diff: https://github.com/llvm/llvm-project/pull/94881.diff 1 Files Affected: - (m

[llvm-branch-commits] [msan] Handle blendv intrinsics (PR #94882)

2024-06-08 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-compiler-rt-sanitizer Author: Vitaly Buka (vitalybuka) Changes Then are very similar to select, so we adjust arguments and forward them into select handler. --- Patch is 20.02 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/l

[llvm-branch-commits] [NFC][msan] Prepare function to extract main logic (PR #94880)

2024-06-08 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-compiler-rt-sanitizer Author: Vitaly Buka (vitalybuka) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/94880.diff 1 Files Affected: - (modified) llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp (+6-4) ``diff diff -

[llvm-branch-commits] [msan] Handle blendv intrinsics (PR #94882)

2024-06-08 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-transforms Author: Vitaly Buka (vitalybuka) Changes Then are very similar to select, so we adjust arguments and forward them into select handler. --- Patch is 20.02 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-pr

[llvm-branch-commits] [llvm] [SPARC][IAS] Add support for %uhi and %ulo extensions (PR #94246)

2024-06-08 Thread via llvm-branch-commits
https://github.com/koachan updated https://github.com/llvm/llvm-project/pull/94246 >From 04bfa20fbeba63f405d12f49a5a75c0903b252b8 Mon Sep 17 00:00:00 2001 From: Koakuma Date: Mon, 3 Jun 2024 23:28:19 +0700 Subject: [PATCH] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20change?= =?UTF-8?q?s

[llvm-branch-commits] [llvm] [SPARC][IAS] Add aliases for %asr20-21 as defined in JPS1 (PR #94247)

2024-06-08 Thread via llvm-branch-commits
https://github.com/koachan updated https://github.com/llvm/llvm-project/pull/94247 >From 74aec4b8d79f1691ee3f7de7ad777eb00bc2f58f Mon Sep 17 00:00:00 2001 From: Koakuma Date: Mon, 3 Jun 2024 23:28:34 +0700 Subject: [PATCH] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20change?= =?UTF-8?q?s

[llvm-branch-commits] [llvm] [SPARC][IAS] Add named prefetch tag constants (PR #94249)

2024-06-09 Thread via llvm-branch-commits
https://github.com/koachan updated https://github.com/llvm/llvm-project/pull/94249 >From 00cd31f7c2d92a07814f806898a5fd605c07c615 Mon Sep 17 00:00:00 2001 From: Koakuma Date: Mon, 3 Jun 2024 23:28:55 +0700 Subject: [PATCH 1/2] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20ch?= =?UTF-8?q?a

[llvm-branch-commits] [SPARC][IAS] Add support for `prefetcha` instruction (PR #94250)

2024-06-09 Thread via llvm-branch-commits
https://github.com/koachan updated https://github.com/llvm/llvm-project/pull/94250 ___ 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] [SPARC][IAS] Add support for `prefetcha` instruction (PR #94250)

2024-06-09 Thread via llvm-branch-commits
https://github.com/koachan updated https://github.com/llvm/llvm-project/pull/94250 ___ 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] [SPARC][IAS] Handle the case of non-4-byte aligned writeNopData (PR #94251)

2024-06-09 Thread via llvm-branch-commits
https://github.com/koachan updated https://github.com/llvm/llvm-project/pull/94251 ___ 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] [SPARC][IAS] Handle the case of non-4-byte aligned writeNopData (PR #94251)

2024-06-09 Thread via llvm-branch-commits
https://github.com/koachan updated https://github.com/llvm/llvm-project/pull/94251 ___ 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] [SPARC][IAS] Add movr(n)e alias for movr(n)z (PR #94252)

2024-06-09 Thread via llvm-branch-commits
https://github.com/koachan updated https://github.com/llvm/llvm-project/pull/94252 ___ 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] [SPARC][IAS] Add movr(n)e alias for movr(n)z (PR #94252)

2024-06-09 Thread via llvm-branch-commits
https://github.com/koachan updated https://github.com/llvm/llvm-project/pull/94252 ___ 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/18.x: [DAGCombiner] In mergeTruncStore, make sure we aren't storing shifted in bits. (#90939) (PR #91038)

2024-06-10 Thread via llvm-branch-commits
https://github.com/AtariDreams closed https://github.com/llvm/llvm-project/pull/91038 ___ 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] [lld] [llvm] release/18.x: [lld] Fix -ObjC load behavior with LTO (#92162) (PR #92478)

2024-06-10 Thread via llvm-branch-commits
https://github.com/AtariDreams closed https://github.com/llvm/llvm-project/pull/92478 ___ 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] 300a496 - Revert "[Misc] Use `LLVM_ENABLE_ABI_BREAKING_CHECKS` correctly (#94212)"

2024-06-10 Thread via llvm-branch-commits
Author: paperchalice Date: 2024-06-10T22:08:51+08:00 New Revision: 300a496d4cfec331b080b597cd2f99d5ffc3c6e7 URL: https://github.com/llvm/llvm-project/commit/300a496d4cfec331b080b597cd2f99d5ffc3c6e7 DIFF: https://github.com/llvm/llvm-project/commit/300a496d4cfec331b080b597cd2f99d5ffc3c6e7.diff

[llvm-branch-commits] [libcxx] [libc++] Implement std::move_only_function (P0288R9) (PR #94670)

2024-06-10 Thread via llvm-branch-commits
EricWF wrote: > @EricWF When switching to `__libcpp_operator_{new,delete}` everything gets > compiled exactly the same on my system. Could you disclose which test you > used for this code? You also claim that the `__pointer_int_pair` causes the > optimizer to lose track of the function pointer

[llvm-branch-commits] [libcxx] [libc++] Implement std::move_only_function (P0288R9) (PR #94670)

2024-06-10 Thread via llvm-branch-commits
@@ -0,0 +1,233 @@ +//===--===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apa

[llvm-branch-commits] [libcxx] [libc++][TZDB] Finishes zoned_time constructors. (PR #95010)

2024-06-10 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-libcxx Author: Mark de Wever (mordante) Changes Completes - LWG3225 zoned_time converting constructor shall not be noexcept - LWG3226 zoned_time constructor from string_view should accept zoned_time Implements parts of: - P0355

[llvm-branch-commits] [llvm] 0491cea - Revert "[MC][NFC] Make ELFUniquingMap a StringMap (#95006)"

2024-06-10 Thread via llvm-branch-commits
Author: aengelke Date: 2024-06-10T20:57:30+02:00 New Revision: 0491cea05e65c0f2fac9c268df01de65f437c2ba URL: https://github.com/llvm/llvm-project/commit/0491cea05e65c0f2fac9c268df01de65f437c2ba DIFF: https://github.com/llvm/llvm-project/commit/0491cea05e65c0f2fac9c268df01de65f437c2ba.diff LOG:

[llvm-branch-commits] [libcxx] [libc++][TZDB] Finishes zoned_time member functions. (PR #95026)

2024-06-10 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-libcxx Author: Mark de Wever (mordante) Changes Note the implementation of zoned_time& operator=(const local_time& lt); is not correct; however the wording cannot be easily implemented. It could be if the object caches the local_time assigne

[llvm-branch-commits] [clang] 809adec - Revert "[llvm][IR] Extend BranchWeightMetadata to track provenance of weights…"

2024-06-10 Thread via llvm-branch-commits
Author: Paul Kirth Date: 2024-06-10T16:43:14-07:00 New Revision: 809adec88edb2cdca5c97d612865c9789233d3c3 URL: https://github.com/llvm/llvm-project/commit/809adec88edb2cdca5c97d612865c9789233d3c3 DIFF: https://github.com/llvm/llvm-project/commit/809adec88edb2cdca5c97d612865c9789233d3c3.diff LO

[llvm-branch-commits] [analyzer] Harden safeguards for Z3 query times (PR #95129)

2024-06-11 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Balazs Benics (steakhal) Changes This patch is a functional change. https://discourse.llvm.org/t/analyzer-rfc-taming-z3-query-times/79520 As a result of this patch, individual Z3 queries in refutation will be bound by 300ms. Every report e

[llvm-branch-commits] [clang] 721d2cf - Revert "Revert "[llvm][IR] Extend BranchWeightMetadata to track provenance of…"

2024-06-11 Thread via llvm-branch-commits
Author: Paul Kirth Date: 2024-06-11T09:08:39-07:00 New Revision: 721d2cf442610e564543f64b98566096b65ccd90 URL: https://github.com/llvm/llvm-project/commit/721d2cf442610e564543f64b98566096b65ccd90 DIFF: https://github.com/llvm/llvm-project/commit/721d2cf442610e564543f64b98566096b65ccd90.diff LO

[llvm-branch-commits] [libcxx] [libc++][TZDB] Adds zoned_time deduction guides. (PR #95139)

2024-06-11 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-libcxx Author: Mark de Wever (mordante) Changes Completes - LWG3232 Inconsistency in zoned_time deduction guides - LWG3294 zoned_time deduction guides misinterprets stringchar* Implements parts of: - P0355 Extending to chrono Calendars and Time Zones

[llvm-branch-commits] [libcxx] [libc++][TZDB] Implements zoned_time's operator==. (PR #95140)

2024-06-11 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-libcxx Author: Mark de Wever (mordante) Changes Implements parts of: - P0355 Extending to chrono Calendars and Time Zones - P1614R2 The Mothership has Landed --- Full diff: https://github.com/llvm/llvm-project/pull/95140.diff 4 Files Affected: - (mod

[llvm-branch-commits] [libcxx] [libc++][TZDB] Implements zoned_seconds typedef. (PR #95141)

2024-06-11 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-libcxx Author: Mark de Wever (mordante) Changes Implements parts of: - P0355 Extending to chrono Calendars and Time Zones --- Full diff: https://github.com/llvm/llvm-project/pull/95141.diff 4 Files Affected: - (modified) libcxx/include/__chrono/zoned

[llvm-branch-commits] [BOLT] Drop high discrepancy profiles in matching (PR #95156)

2024-06-11 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-transforms Author: shaw young (shawbyoung) Changes Test Plan: tbd --- Full diff: https://github.com/llvm/llvm-project/pull/95156.diff 2 Files Affected: - (modified) bolt/lib/Profile/StaleProfileMatching.cpp (+14-2) - (modified) llvm/include/

[llvm-branch-commits] Updated CommandLineArgumentReference.md (PR #95160)

2024-06-11 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-bolt Author: shaw young (shawbyoung) Changes Test Plan: tbd --- Full diff: https://github.com/llvm/llvm-project/pull/95160.diff 1 Files Affected: - (modified) bolt/docs/CommandLineArgumentReference.md (+12-1) ``diff diff --git a/bolt/do

[llvm-branch-commits] [libcxx] [libc++] Implement std::move_only_function (P0288R9) (PR #94670)

2024-06-11 Thread via llvm-branch-commits
@@ -0,0 +1,233 @@ +//===--===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apa

[llvm-branch-commits] [libcxx] [libc++] Implement std::move_only_function (P0288R9) (PR #94670)

2024-06-11 Thread via llvm-branch-commits
@@ -0,0 +1,233 @@ +//===--===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apa

[llvm-branch-commits] [clang-doc][cmake] Copy assets to build directory (PR #95185)

2024-06-11 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang-tools-extra Author: Paul Kirth (ilovepi) Changes While we copy the asset files, like index.js, into the correct location in the install step, tests do not have access to those resources in the build directory. This patch copies the contents of the

[llvm-branch-commits] [flang] d2522a0 - Revert "[Flang] Use PrintModulePass to print LLVM IR from the frontend (#95142)"

2024-06-12 Thread via llvm-branch-commits
Author: Stephen Tozer Date: 2024-06-12T11:52:00+01:00 New Revision: d2522a01b4087f3b8c88b91a4ba20bf6654870bf URL: https://github.com/llvm/llvm-project/commit/d2522a01b4087f3b8c88b91a4ba20bf6654870bf DIFF: https://github.com/llvm/llvm-project/commit/d2522a01b4087f3b8c88b91a4ba20bf6654870bf.diff

[llvm-branch-commits] [libcxx] [libc++] Implement std::move_only_function (P0288R9) (PR #94670)

2024-06-12 Thread via llvm-branch-commits
@@ -0,0 +1,233 @@ +//===--===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apa

[llvm-branch-commits] [libcxx] [libc++] Implement std::move_only_function (P0288R9) (PR #94670)

2024-06-12 Thread via llvm-branch-commits
@@ -0,0 +1,233 @@ +//===--===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apa

[llvm-branch-commits] [libcxx] Mark test as long_tests (PR #95266)

2024-06-12 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-libcxx Author: Vitaly Buka (vitalybuka) Changes This tests timeouts with sanitizers, and takes more than 3 min even without sanitizers. --- Full diff: https://github.com/llvm/llvm-project/pull/95266.diff 1 Files Affected: - (modified) libcxx/test/s

[llvm-branch-commits] [llvm] fe30a73 - Revert "[CLANG][DWARF] Handle DIE offset collision in DW_IDX_parent (#95039)"

2024-06-12 Thread via llvm-branch-commits
Author: Florian Mayer Date: 2024-06-12T13:25:52-07:00 New Revision: fe30a734628b3028c086ce016b6f80440172f34f URL: https://github.com/llvm/llvm-project/commit/fe30a734628b3028c086ce016b6f80440172f34f DIFF: https://github.com/llvm/llvm-project/commit/fe30a734628b3028c086ce016b6f80440172f34f.diff

[llvm-branch-commits] [libcxx] [libc++] Implement std::move_only_function (P0288R9) (PR #94670)

2024-06-12 Thread via llvm-branch-commits
https://github.com/EricWF edited https://github.com/llvm/llvm-project/pull/94670 ___ 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] [BOLT] Drop high discrepancy profiles in matching (PR #95156)

2024-06-12 Thread via llvm-branch-commits
@@ -59,6 +59,8 @@ struct FlowFunction { /// The index of the entry block. uint64_t Entry{0}; uint64_t Sink{UINT64_MAX}; + // Matched execution count for the function. + uint64_t MatchedExecCount{0}; WenleiHe wrote: nit: I'd be careful about adding this

[llvm-branch-commits] [llvm] [BOLT] Drop high discrepancy profiles in matching (PR #95156)

2024-06-12 Thread via llvm-branch-commits
@@ -592,10 +599,15 @@ void preprocessUnreachableBlocks(FlowFunction &Func) { /// Decide if stale profile matching can be applied for a given function. /// Currently we skip inference for (very) large instances and for instances /// having "unexpected" control flow (e.g., having

[llvm-branch-commits] [llvm] [BOLT] Drop high discrepancy profiles in matching (PR #95156)

2024-06-12 Thread via llvm-branch-commits
@@ -614,6 +614,17 @@ - `--lite-threshold-pct=` + Threshold (in percent) of matched profile at which stale profile inference is + applied to functions. Argument corresponds to the sum of matched execution + counts of function blocks divided by the sum of execution counts of

[llvm-branch-commits] [llvm] [BOLT] Drop high discrepancy profiles in matching (PR #95156)

2024-06-12 Thread via llvm-branch-commits
@@ -592,10 +599,15 @@ void preprocessUnreachableBlocks(FlowFunction &Func) { /// Decide if stale profile matching can be applied for a given function. /// Currently we skip inference for (very) large instances and for instances /// having "unexpected" control flow (e.g., having

[llvm-branch-commits] [llvm] [BOLT] Drop high discrepancy profiles in matching (PR #95156)

2024-06-12 Thread via llvm-branch-commits
WenleiHe wrote: cc @wlei-llvm https://github.com/llvm/llvm-project/pull/95156 ___ 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] fc671bb - Revert "Bump the DWARF version number to 5 on Darwin. (#95164)"

2024-06-12 Thread via llvm-branch-commits
Author: Florian Mayer Date: 2024-06-12T15:50:03-07:00 New Revision: fc671bbb1ceb94f8aac63bc0e4963e5894bc660e URL: https://github.com/llvm/llvm-project/commit/fc671bbb1ceb94f8aac63bc0e4963e5894bc660e DIFF: https://github.com/llvm/llvm-project/commit/fc671bbb1ceb94f8aac63bc0e4963e5894bc660e.diff

[llvm-branch-commits] [llvm] [BOLT] Drop high discrepancy profiles in matching (PR #95156)

2024-06-12 Thread via llvm-branch-commits
@@ -592,10 +599,15 @@ void preprocessUnreachableBlocks(FlowFunction &Func) { /// Decide if stale profile matching can be applied for a given function. /// Currently we skip inference for (very) large instances and for instances /// having "unexpected" control flow (e.g., having

[llvm-branch-commits] [mlir] 8944c8d - Revert "[MLIR][Arith] add fastMathAttr on arith::extf and arith::truncf (#93443)"

2024-06-12 Thread via llvm-branch-commits
Author: Ivy Zhang Date: 2024-06-13T11:12:39+08:00 New Revision: 8944c8df45f8e4da860bf04118106d9a950cbf75 URL: https://github.com/llvm/llvm-project/commit/8944c8df45f8e4da860bf04118106d9a950cbf75 DIFF: https://github.com/llvm/llvm-project/commit/8944c8df45f8e4da860bf04118106d9a950cbf75.diff LOG

[llvm-branch-commits] [flang] [flang] Lower REDUCE intrinsic for reduction op with args by value (PR #95353)

2024-06-12 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-flang-fir-hlfir Author: Valentin Clement (バレンタイン クレメン) (clementval) Changes #95297 Updates the runtime entry points to distinguish between reduction operation with arguments passed by value or by reference. Add lowering to support the arguments passed

[llvm-branch-commits] [llvm] AMDGPU: Fix buffer intrinsic store of bfloat (PR #95377)

2024-06-13 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Matt Arsenault (arsenm) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/95377.diff 2 Files Affected: - (modified) llvm/lib/Target/AMDGPU/SIISelLowering.cpp (+2-2) - (modified) llvm/test/CodeGen/AMDGPU/llvm.am

[llvm-branch-commits] [llvm] AMDGPU: Fix buffer load/store of pointers (PR #95379)

2024-06-13 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Matt Arsenault (arsenm) Changes Make sure we test all the address spaces since this support isn't free in gisel. --- Patch is 38.37 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/95379

[llvm-branch-commits] [llvm] AMDGPU: Cleanup selection patterns for buffer loads (PR #95378)

2024-06-13 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Matt Arsenault (arsenm) Changes We should just support these for all register types. --- Full diff: https://github.com/llvm/llvm-project/pull/95378.diff 2 Files Affected: - (modified) llvm/lib/Target/AMDGPU/BUFInstructions.td (

[llvm-branch-commits] [compiler-rt] [TySan] Fixed false positive when accessing offset member variables (PR #95387)

2024-06-13 Thread via llvm-branch-commits
github-actions[bot] wrote: Thank you for submitting a Pull Request (PR) to the LLVM Project! This PR will be automatically labeled and the relevant teams will be notified. If you wish to, you can add reviewers by using the "Reviewers" section on this page. If this is not working for you, it

[llvm-branch-commits] [compiler-rt] [TySan] Fixed false positive when accessing offset member variables (PR #95387)

2024-06-13 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-compiler-rt-sanitizer Author: None (gbMattN) Changes This patch fixes a bug the current TySan implementation has. Currently if you access a member variable other than the first, TySan reports an error. TySan believes you are accessing the struct type w

[llvm-branch-commits] [clang] 0e8c9bc - Revert "[clang][NFC] Add a test for CWG2685 (#95206)"

2024-06-13 Thread via llvm-branch-commits
Author: Younan Zhang Date: 2024-06-13T18:53:46+08:00 New Revision: 0e8c9bca863137f14aea2cee0e05d4270b33e0e8 URL: https://github.com/llvm/llvm-project/commit/0e8c9bca863137f14aea2cee0e05d4270b33e0e8 DIFF: https://github.com/llvm/llvm-project/commit/0e8c9bca863137f14aea2cee0e05d4270b33e0e8.diff

[llvm-branch-commits] [compiler-rt] [TySan] Fixed false positive when accessing offset member variables (PR #95387)

2024-06-13 Thread via llvm-branch-commits
https://github.com/gbMattN updated https://github.com/llvm/llvm-project/pull/95387 >From 432f994b1bc21e4db0778fff9cc1425f788f8168 Mon Sep 17 00:00:00 2001 From: Matthew Nagy Date: Thu, 13 Jun 2024 09:54:04 + Subject: [PATCH] [TySan] Fixed false positive when accessing offset member variabl

[llvm-branch-commits] [compiler-rt] [TySan] Fixed false positive when accessing offset member variables (PR #95387)

2024-06-13 Thread via llvm-branch-commits
gbMattN wrote: @fhahn https://github.com/llvm/llvm-project/pull/95387 ___ 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] 91323a6 - Revert "Revert "[libc] fix aarch64 linux full build (#95358)" (#95419)"

2024-06-13 Thread via llvm-branch-commits
Author: Schrodinger ZHU Yifan Date: 2024-06-13T08:38:05-07:00 New Revision: 91323a6ea8f32a9fe2cec7051e8a99b87157133e URL: https://github.com/llvm/llvm-project/commit/91323a6ea8f32a9fe2cec7051e8a99b87157133e DIFF: https://github.com/llvm/llvm-project/commit/91323a6ea8f32a9fe2cec7051e8a99b8715713

[llvm-branch-commits] [libc] 93e7f14 - Revert "[libc] fix aarch64 linux full build (#95358)"

2024-06-13 Thread via llvm-branch-commits
Author: Schrodinger ZHU Yifan Date: 2024-06-13T07:54:57-07:00 New Revision: 93e7f145bc38c7c47d797e652d891695eb44fcfa URL: https://github.com/llvm/llvm-project/commit/93e7f145bc38c7c47d797e652d891695eb44fcfa DIFF: https://github.com/llvm/llvm-project/commit/93e7f145bc38c7c47d797e652d891695eb44fc

[llvm-branch-commits] [compiler-rt] [TySan] Fixed false positive when accessing offset member variables (PR #95387)

2024-06-13 Thread via llvm-branch-commits
gbMattN wrote: This may be a side effect of a different bug tracking global variables. I think fixing that bug first, and then applying this change if the problem persists is a better idea. Because of this, I'm switching this to a draft for now. Discourse link is https://discourse.llvm.org/t/

[llvm-branch-commits] [flang] [flang] Lower REDUCE intrinsic for reduction op with args by value (PR #95353)

2024-06-13 Thread via llvm-branch-commits
@@ -5745,6 +5745,14 @@ IntrinsicLibrary::genReduce(mlir::Type resultType, int rank = arrayTmp.rank(); assert(rank >= 1); + // Arguements to the reduction operation are passed by reference or value? + bool argByRef = true; + if (auto embox = + mlir::dyn_cast_or_

[llvm-branch-commits] [flang] [flang] Lower REDUCE intrinsic for reduction op with args by value (PR #95353)

2024-06-13 Thread via llvm-branch-commits
https://github.com/jeanPerier approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/95353 ___ 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] [compiler-rt] 7fe862d - Revert "[hwasan] Add fixed_shadow_base flag (#73980)"

2024-06-13 Thread via llvm-branch-commits
Author: Florian Mayer Date: 2024-06-13T09:55:29-07:00 New Revision: 7fe862d0a1f6dfa67c236f5af32ad15546797404 URL: https://github.com/llvm/llvm-project/commit/7fe862d0a1f6dfa67c236f5af32ad15546797404 DIFF: https://github.com/llvm/llvm-project/commit/7fe862d0a1f6dfa67c236f5af32ad15546797404.diff

[llvm-branch-commits] [compiler-rt] [TySan] Fixed false positive when accessing offset member variables (PR #95387)

2024-06-13 Thread via llvm-branch-commits
https://github.com/gbMattN converted_to_draft https://github.com/llvm/llvm-project/pull/95387 ___ 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] Bump version to 18.1.8 (PR #95458)

2024-06-13 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-testing-tools Author: Tom Stellard (tstellar) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/95458.diff 2 Files Affected: - (modified) llvm/CMakeLists.txt (+1-1) - (modified) llvm/utils/lit/lit/__init__.py (+1-1) ``diff

[llvm-branch-commits] [llvm] release/18.x: [SystemZ] Bugfix in getDemandedSrcElements(). (#88623) (PR #95463)

2024-06-13 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/95463 Backport 7e4c6e98fa05f5c3bf14f96365ae74a8d12c6257 Requested by: @nikic >From 016c200faf4bcf1a531dabd4411a2ec4d0a23068 Mon Sep 17 00:00:00 2001 From: Jonas Paulsson Date: Mon, 15 Apr 2024 16:32:14 +0200 Subject:

[llvm-branch-commits] [llvm] release/18.x: [SystemZ] Bugfix in getDemandedSrcElements(). (#88623) (PR #95463)

2024-06-13 Thread via llvm-branch-commits
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/95463 ___ 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/18.x: [SystemZ] Bugfix in getDemandedSrcElements(). (#88623) (PR #95463)

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

[llvm-branch-commits] [lld] [llvm] release/18.x: [lld] Fix -ObjC load behavior with LTO (#92162) (PR #92478)

2024-06-13 Thread via llvm-branch-commits
https://github.com/AtariDreams reopened https://github.com/llvm/llvm-project/pull/92478 ___ 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] [openmp] release/18.x: [OpenMP][OMPT] Fix hsa include when building amdgpu/src/rtl.cpp (PR #95484)

2024-06-13 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Thomas Debesse (illwieckz) Changes The `dynamic_hsa/` include directory is required by both optional `dynamic_hsa/hsa.cpp` and non-optional `src/rtl.cpp`. It should then always be included or the build will fail if only `src/rtl.

[llvm-branch-commits] Using matched block counts to measure discrepancy (PR #95486)

2024-06-13 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-transforms Author: shaw young (shawbyoung) Changes Test Plan: tbd --- Full diff: https://github.com/llvm/llvm-project/pull/95486.diff 2 Files Affected: - (modified) bolt/lib/Profile/StaleProfileMatching.cpp (+29-8) - (modified) llvm/include/

[llvm-branch-commits] [llvm] [BOLT] Drop high discrepancy profiles in matching (PR #95156)

2024-06-14 Thread via llvm-branch-commits
@@ -51,6 +51,12 @@ cl::opt cl::desc("Infer counts from stale profile data."), cl::init(false), cl::Hidden, cl::cat(BoltOptCategory)); +cl::opt MatchedProfileThreshold( +"matched-profile-threshold", WenleiHe wrote

[llvm-branch-commits] [llvm] [BOLT] Drop high discrepancy profiles in matching (PR #95156)

2024-06-14 Thread via llvm-branch-commits
@@ -180,6 +186,17 @@ struct BlendedBlockHash { uint8_t SuccHash{0}; }; +/// A data object containing function matching information. +struct FunctionMatchingData { +public: + /// The number of blocks matched exactly. + uint64_t MatchedExactBlocks{0}; + /// The number of bl

[llvm-branch-commits] [llvm] [BOLT] Drop high discrepancy profiles in matching (PR #95156)

2024-06-14 Thread via llvm-branch-commits
@@ -58,7 +58,6 @@ struct FlowFunction { std::vector Jumps; /// The index of the entry block. uint64_t Entry{0}; - uint64_t Sink{UINT64_MAX}; WenleiHe wrote: this change doesn't belong to this PR https://github.com/llvm/llvm-project/pull/95156 _

[llvm-branch-commits] [llvm] [BOLT] Drop high discrepancy profiles in matching (PR #95156)

2024-06-14 Thread via llvm-branch-commits
@@ -51,6 +51,12 @@ cl::opt cl::desc("Infer counts from stale profile data."), cl::init(false), cl::Hidden, cl::cat(BoltOptCategory)); +cl::opt StaleMatchingMinMatchedBlock( +"stale-matching-min-matched-block", +cl::desc("Perc

[llvm-branch-commits] [llvm] 443e23e - Bump version to 18.1.8 (#95458)

2024-06-14 Thread via llvm-branch-commits
Author: Tom Stellard Date: 2024-06-14T12:20:26-07:00 New Revision: 443e23eed24d9533566f189ef25154263756a36d URL: https://github.com/llvm/llvm-project/commit/443e23eed24d9533566f189ef25154263756a36d DIFF: https://github.com/llvm/llvm-project/commit/443e23eed24d9533566f189ef25154263756a36d.diff

[llvm-branch-commits] [llvm] [BOLT] Drop high discrepancy profiles in matching (PR #95156)

2024-06-14 Thread via llvm-branch-commits
https://github.com/WenleiHe edited https://github.com/llvm/llvm-project/pull/95156 ___ 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] [BOLT] Drop high discrepancy profiles in matching (PR #95156)

2024-06-14 Thread via llvm-branch-commits
@@ -180,6 +186,13 @@ struct BlendedBlockHash { uint8_t SuccHash{0}; }; +/// A data object containing function matching information. +struct FunctionMatchingData { +public: WenleiHe wrote: nit: public is not needed for struct since it's the default. also if

[llvm-branch-commits] [llvm] [BOLT] Drop high discrepancy profiles in matching (PR #95156)

2024-06-14 Thread via llvm-branch-commits
https://github.com/WenleiHe approved this pull request. lgtm with a nit, thanks. https://github.com/llvm/llvm-project/pull/95156 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llv

[llvm-branch-commits] [llvm] AMDGPU: Create pseudo to real mapping for flat/buffer atomic fmin/fmax (PR #95591)

2024-06-14 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Matt Arsenault (arsenm) Changes The global/flat/buffer atomic fmin/fmax situation is a mess. These instructions have been renamed 3 times. We currently have separate pseudos defined for the same opcodes with the different names (e.

[llvm-branch-commits] [llvm] AMDGPU: Start selecting flat/global atomicrmw fmin/fmax. (PR #95592)

2024-06-14 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Matt Arsenault (arsenm) Changes Define subtarget features for atomic fmin/fmax support. The flat/global support is a real messe. We had float/double support at the beginning in gfx6 and gfx7. gfx8 removed these. gfx10 reintroduced

[llvm-branch-commits] [llvm] AMDGPU: Start selecting buffer fat pointer atomicrmw fmin/fmax (PR #95593)

2024-06-14 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Matt Arsenault (arsenm) Changes --- Patch is 148.79 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/95593.diff 3 Files Affected: - (modified) llvm/lib/Target/AMDGPU/SIISelLowering.c

[llvm-branch-commits] [llvm] [BOLT] Drop high discrepancy profiles in matching (PR #95156)

2024-06-14 Thread via llvm-branch-commits
@@ -725,18 +739,22 @@ bool YAMLProfileReader::inferStaleProfile( const BinaryFunction::BasicBlockOrderType BlockOrder( BF.getLayout().block_begin(), BF.getLayout().block_end()); + // Tracks the number of matched blocks. + uint64_t MatchedBlocks; Wenl

[llvm-branch-commits] [libcxx] 72c9425 - [libc++][NFC] Rewrite function call on two lines for clarity (#79141)

2024-06-15 Thread via llvm-branch-commits
Author: Louis Dionne Date: 2024-06-15T10:21:32-07:00 New Revision: 72c9425a79fda8e9001fcde091e8703f9fb2a43a URL: https://github.com/llvm/llvm-project/commit/72c9425a79fda8e9001fcde091e8703f9fb2a43a DIFF: https://github.com/llvm/llvm-project/commit/72c9425a79fda8e9001fcde091e8703f9fb2a43a.diff

[llvm-branch-commits] [libcxx] 3b5b5c1 - [libcxx] Align `__recommend() + 1` by __endian_factor (#90292)

2024-06-15 Thread via llvm-branch-commits
Author: Vitaly Buka Date: 2024-06-15T10:21:32-07:00 New Revision: 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff URL: https://github.com/llvm/llvm-project/commit/3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff DIFF: https://github.com/llvm/llvm-project/commit/3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff.diff L

[llvm-branch-commits] [mlir] 46a67e7 - Revert "[mlir][Target] Improve ROCDL gpu serialization API (#95456)"

2024-06-17 Thread via llvm-branch-commits
Author: Fabian Mora Date: 2024-06-17T09:08:42-05:00 New Revision: 46a67e7de24fa997a97a0b7df7391727dfc3aa5e URL: https://github.com/llvm/llvm-project/commit/46a67e7de24fa997a97a0b7df7391727dfc3aa5e DIFF: https://github.com/llvm/llvm-project/commit/46a67e7de24fa997a97a0b7df7391727dfc3aa5e.diff L

[llvm-branch-commits] [BOLT] Hash-based function matching (PR #95821)

2024-06-17 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-bolt Author: shaw young (shawbyoung) Changes Using the hashes of binary and profiled functions to recover functions with changed names. Test Plan: tbd --- Full diff: https://github.com/llvm/llvm-project/pull/95821.diff 1 Files Affected: - (modified

[llvm-branch-commits] [mlir] 6b51c7a - Revert "[mlir][sparse] implement lowering rules for IterateOp. (#95286)"

2024-06-17 Thread via llvm-branch-commits
Author: Peiming Liu Date: 2024-06-17T11:35:01-07:00 New Revision: 6b51c7a96be4d260d74d9992745f92c1aadc78ff URL: https://github.com/llvm/llvm-project/commit/6b51c7a96be4d260d74d9992745f92c1aadc78ff DIFF: https://github.com/llvm/llvm-project/commit/6b51c7a96be4d260d74d9992745f92c1aadc78ff.diff L

[llvm-branch-commits] [clang] 676be4f - Revert "[Clang] Add fix-it hint to insert `*` when a modifiable lvalue is req…"

2024-06-17 Thread via llvm-branch-commits
Author: Sirraide Date: 2024-06-17T21:43:34+02:00 New Revision: 676be4fb82172ad1ea701ce219e9706b91570ea3 URL: https://github.com/llvm/llvm-project/commit/676be4fb82172ad1ea701ce219e9706b91570ea3 DIFF: https://github.com/llvm/llvm-project/commit/676be4fb82172ad1ea701ce219e9706b91570ea3.diff LOG:

[llvm-branch-commits] [mlir] 768bda0 - Revert "Reland [mlir][Target] Improve ROCDL gpu serialization API (#95813)"

2024-06-17 Thread via llvm-branch-commits
Author: Fabian Mora Date: 2024-06-17T15:49:52-05:00 New Revision: 768bda06368a96d186ed292e15d979f7ee695819 URL: https://github.com/llvm/llvm-project/commit/768bda06368a96d186ed292e15d979f7ee695819 DIFF: https://github.com/llvm/llvm-project/commit/768bda06368a96d186ed292e15d979f7ee695819.diff L

[llvm-branch-commits] [compiler-rt] 43ca021 - Revert "[HWASan] [compiler-rt] support non-4k pages on Android (#95069)"

2024-06-17 Thread via llvm-branch-commits
Author: Florian Mayer Date: 2024-06-17T14:37:55-07:00 New Revision: 43ca021ef4765f212be166940f0305c05845b713 URL: https://github.com/llvm/llvm-project/commit/43ca021ef4765f212be166940f0305c05845b713 DIFF: https://github.com/llvm/llvm-project/commit/43ca021ef4765f212be166940f0305c05845b713.diff

[llvm-branch-commits] [BOLT] Name similarity function matching (PR #95884)

2024-06-17 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-bolt Author: shaw young (shawbyoung) Changes Matching functions based on edit distance. Test Plan: tbd --- Full diff: https://github.com/llvm/llvm-project/pull/95884.diff 1 Files Affected: - (modified) bolt/lib/Profile/YAMLProfileReader.cpp (+29)

[llvm-branch-commits] [clang] bbcee74 - Revert "[analyzer] Harden safeguards for Z3 query times"

2024-06-18 Thread via llvm-branch-commits
Author: Balazs Benics Date: 2024-06-18T14:50:00+02:00 New Revision: bbcee744465c72b8000321defd85ed3daa290502 URL: https://github.com/llvm/llvm-project/commit/bbcee744465c72b8000321defd85ed3daa290502 DIFF: https://github.com/llvm/llvm-project/commit/bbcee744465c72b8000321defd85ed3daa290502.diff

<    1   2   3   4   5   6   7   8   9   10   >