[llvm-branch-commits] [llvm] release/19.x: [AA] Take account of C++23's stricter rules for forward declarations (NFC) (#109416) (PR #109476)

2024-09-23 Thread via llvm-branch-commits
github-actions[bot] wrote: @nikic (or anyone else). If you would like to add a note about this fix in the release notes (completely optional). Please reply to this comment with a one or two sentence description of the fix. When you are done, please add the release:note label to this PR. htt

[llvm-branch-commits] [llvm] [X86][APX] Fix wrong encoding of promoted KMOV instructions due to missing NoCD8 (#109579) (PR #109635)

2024-09-23 Thread Simon Pilgrim via llvm-branch-commits
https://github.com/RKSimon approved this pull request. https://github.com/llvm/llvm-project/pull/109635 ___ 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: [LoongArch] Eliminate the redundant sign extension of division (#107971) (PR #109125)

2024-09-23 Thread Lu Weining via llvm-branch-commits
https://github.com/SixWeining approved this pull request. lgtm https://github.com/llvm/llvm-project/pull/109125 ___ 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: [clang-format] Reimplement InsertNewlineAtEOF (#108513) (PR #109170)

2024-09-23 Thread via llvm-branch-commits
github-actions[bot] wrote: @owenca (or anyone else). If you would like to add a note about this fix in the release notes (completely optional). Please reply to this comment with a one or two sentence description of the fix. When you are done, please add the release:note label to this PR. ht

[llvm-branch-commits] [clang] release/19.x: [Clang][Concepts] Fix the constraint equivalence checking involving parameter packs (#102131) (PR #106043)

2024-09-23 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru updated https://github.com/llvm/llvm-project/pull/106043 >From 3e512ba17d90d5ab5382bae61a3e5762d2e3f42a Mon Sep 17 00:00:00 2001 From: Younan Zhang Date: Mon, 26 Aug 2024 14:30:26 +0800 Subject: [PATCH] [Clang][Concepts] Fix the constraint equivalence checking involving p

[llvm-branch-commits] [llvm] [X86][APX] Fix wrong encoding of promoted KMOV instructions due to missing NoCD8 (#109579) (PR #109635)

2024-09-23 Thread Tobias Hieta via llvm-branch-commits
tru wrote: @RKSimon fine and safe to backport? https://github.com/llvm/llvm-project/pull/109635 ___ 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: [LoopPeel] Fix LCSSA phi node invalidation (PR #109624)

2024-09-23 Thread Tobias Hieta via llvm-branch-commits
tru wrote: Is this safe enough to merge @nikic ? any risks? https://github.com/llvm/llvm-project/pull/109624 ___ 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: [ORC] Remove EDU from dependants list of dependencies before destroying. (PR #109355)

2024-09-23 Thread Tobias Hieta via llvm-branch-commits
tru wrote: Hi, since we are wrapping up this next release we are very strict with the fixes we pick at this point. Can you please respond to the following questions to help me understand if this has to be included in the final release or not. Is this PR a fix for a regression or a critical iss

[llvm-branch-commits] [lld] release/19.x: [ELF] --icf: don't fold a section without relocation and a section with relocations for SHT_CREL (PR #109309)

2024-09-23 Thread via llvm-branch-commits
github-actions[bot] wrote: @MaskRay (or anyone else). If you would like to add a note about this fix in the release notes (completely optional). Please reply to this comment with a one or two sentence description of the fix. When you are done, please add the release:note label to this PR. h

[llvm-branch-commits] [libcxx] [libc++] Adjust the version of __cpp_lib_ranges in C++20 mode (PR #109324)

2024-09-23 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru updated https://github.com/llvm/llvm-project/pull/109324 >From bb606ca6bff4555ffc2d7bd81edfc85434937141 Mon Sep 17 00:00:00 2001 From: Louis Dionne Date: Thu, 19 Sep 2024 15:40:47 -0400 Subject: [PATCH] [libc++] Adjust the version of __cpp_lib_ranges in C++20 mode This is

[llvm-branch-commits] [libcxx] [libc++] Adjust the version of __cpp_lib_ranges in C++20 mode (PR #109324)

2024-09-23 Thread Tobias Hieta via llvm-branch-commits
tru wrote: Many CI failures here as well. Can you check @ldionne ? https://github.com/llvm/llvm-project/pull/109324 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-comm

[llvm-branch-commits] [lld] release/19.x: [ELF] --icf: don't fold a section without relocation and a section with relocations for SHT_CREL (PR #109309)

2024-09-23 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru closed https://github.com/llvm/llvm-project/pull/109309 ___ 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] 1720219 - [ELF] --icf: don't fold a section without relocation and a section with relocations for SHT_CREL

2024-09-23 Thread Tobias Hieta via llvm-branch-commits
Author: Fangrui Song Date: 2024-09-24T08:19:09+02:00 New Revision: 1720219a1dea5c9b99df6dd1fdfb9dc8e77054fd URL: https://github.com/llvm/llvm-project/commit/1720219a1dea5c9b99df6dd1fdfb9dc8e77054fd DIFF: https://github.com/llvm/llvm-project/commit/1720219a1dea5c9b99df6dd1fdfb9dc8e77054fd.diff

[llvm-branch-commits] [lld] release/19.x: [ELF] --icf: don't fold a section without relocation and a section with relocations for SHT_CREL (PR #109309)

2024-09-23 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru updated https://github.com/llvm/llvm-project/pull/109309 >From 1720219a1dea5c9b99df6dd1fdfb9dc8e77054fd Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Wed, 18 Sep 2024 23:06:12 -0700 Subject: [PATCH] [ELF] --icf: don't fold a section without relocation and a section wi

[llvm-branch-commits] [libcxx] [libc++] Follow-up to "Poison Pills are Too Toxic" (PR #109291)

2024-09-23 Thread Tobias Hieta via llvm-branch-commits
tru wrote: Rebasing since we have several CI failures. https://github.com/llvm/llvm-project/pull/109291 ___ 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++] Follow-up to "Poison Pills are Too Toxic" (PR #109291)

2024-09-23 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru updated https://github.com/llvm/llvm-project/pull/109291 >From 57b439c546276719dfb63e172014aa172987 Mon Sep 17 00:00:00 2001 From: Jakub Mazurkiewicz Date: Wed, 10 Apr 2024 23:12:22 +0200 Subject: [PATCH 1/2] [libc++] Follow-up to "Poison Pills are Too Toxic" * Update

[llvm-branch-commits] [llvm] release/19.x: [LoongArch] Eliminate the redundant sign extension of division (#107971) (PR #109125)

2024-09-23 Thread Tobias Hieta via llvm-branch-commits
tru wrote: Hi, since we are wrapping up this next release we are very strict with the fixes we pick at this point. Can you please respond to the following questions to help me understand if this has to be included in the final release or not. Is this PR a fix for a regression or a critical iss

[llvm-branch-commits] [compiler-rt] release/19.x: [LoongArch][sanitizer] Fix SC_ADDRERR_{RD, WR} missing in the musl environment (#108557) (PR #109110)

2024-09-23 Thread via llvm-branch-commits
github-actions[bot] wrote: @heiher (or anyone else). If you would like to add a note about this fix in the release notes (completely optional). Please reply to this comment with a one or two sentence description of the fix. When you are done, please add the release:note label to this PR. ht

[llvm-branch-commits] [compiler-rt] release/19.x: [LoongArch][sanitizer] Fix SC_ADDRERR_{RD, WR} missing in the musl environment (#108557) (PR #109110)

2024-09-23 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru closed https://github.com/llvm/llvm-project/pull/109110 ___ 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] 910dde5 - [LoongArch][sanitizer] Fix SC_ADDRERR_{RD, WR} missing in the musl environment (#108557)

2024-09-23 Thread Tobias Hieta via llvm-branch-commits
Author: hev Date: 2024-09-24T08:16:20+02:00 New Revision: 910dde5780f9e8f3a16612bd89b512b2594e9ab7 URL: https://github.com/llvm/llvm-project/commit/910dde5780f9e8f3a16612bd89b512b2594e9ab7 DIFF: https://github.com/llvm/llvm-project/commit/910dde5780f9e8f3a16612bd89b512b2594e9ab7.diff LOG: [Loo

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

2024-09-23 Thread via llvm-branch-commits
github-actions[bot] wrote: @mstorsjo (or anyone else). If you would like to add a note about this fix in the release notes (completely optional). Please reply to this comment with a one or two sentence description of the fix. When you are done, please add the release:note label to this PR.

[llvm-branch-commits] [compiler-rt] release/19.x: [LoongArch][sanitizer] Fix SC_ADDRERR_{RD, WR} missing in the musl environment (#108557) (PR #109110)

2024-09-23 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru updated https://github.com/llvm/llvm-project/pull/109110 >From 910dde5780f9e8f3a16612bd89b512b2594e9ab7 Mon Sep 17 00:00:00 2001 From: hev Date: Sat, 14 Sep 2024 11:19:34 +0800 Subject: [PATCH] [LoongArch][sanitizer] Fix SC_ADDRERR_{RD,WR} missing in the musl environment

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

2024-09-23 Thread Chuanqi Xu via llvm-branch-commits
https://github.com/ChuanqiXu9 approved this pull request. LGTM 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] [compiler-rt] release/19.x: [LoongArch][sanitizer] Fix SC_ADDRERR_{RD, WR} missing in the musl environment (#108557) (PR #109110)

2024-09-23 Thread Tobias Hieta via llvm-branch-commits
tru wrote: Looks safe enough. https://github.com/llvm/llvm-project/pull/109110 ___ 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 constexpr/consteval member function as implicitly inline (PR #109076)

2024-09-23 Thread Chuanqi Xu via llvm-branch-commits
ChuanqiXu9 wrote: > @ChuanqiXu9 this looks safe enough to be picked. Does the PR look fine to you? Yes, I'll try to approve it formally. https://github.com/llvm/llvm-project/pull/109076 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.ll

[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-23 Thread Chuanqi Xu via llvm-branch-commits
https://github.com/ChuanqiXu9 approved this pull request. 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] [llvm] release/19.x: Reland [llvm-ml] Fix RIP-relative addressing for ptr operands (#108061) (PR #109091)

2024-09-23 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru closed 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] 22139b3 - Reland [llvm-ml] Fix RIP-relative addressing for ptr operands (#108061)

2024-09-23 Thread Tobias Hieta via llvm-branch-commits
Author: Andrew Ng Date: 2024-09-24T08:15:17+02:00 New Revision: 22139b36d7a81cd2dc08e9499a915def4aefc64e URL: https://github.com/llvm/llvm-project/commit/22139b36d7a81cd2dc08e9499a915def4aefc64e DIFF: https://github.com/llvm/llvm-project/commit/22139b36d7a81cd2dc08e9499a915def4aefc64e.diff LOG

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

2024-09-23 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru updated https://github.com/llvm/llvm-project/pull/109091 >From 22139b36d7a81cd2dc08e9499a915def4aefc64e Mon Sep 17 00:00:00 2001 From: Andrew Ng Date: Fri, 13 Sep 2024 12:19:42 +0100 Subject: [PATCH] Reland [llvm-ml] Fix RIP-relative addressing for ptr operands (#108061)

[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-23 Thread Tobias Hieta via llvm-branch-commits
tru wrote: This looks safe - @ChuanqiXu9 can you approve if it looks alright to you? 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/listinf

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

2024-09-23 Thread via llvm-branch-commits
github-actions[bot] wrote: @tstellar (or anyone else). If you would like to add a note about this fix in the release notes (completely optional). Please reply to this comment with a one or two sentence description of the fix. When you are done, please add the release:note label to this PR.

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

2024-09-23 Thread Tobias Hieta via llvm-branch-commits
tru wrote: @ChuanqiXu9 this looks safe enough to be picked. Does the PR look fine to you? 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/li

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

2024-09-23 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru closed 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-23 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru updated https://github.com/llvm/llvm-project/pull/109072 >From de7ee2e3ae893d61c0fa1a601e84ed538ec85e70 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Tue, 17 Sep 2024 17:07:35 -0700 Subject: [PATCH] [bolt][tests] Skip tests that use perf when perf counters are unavail

[llvm-branch-commits] [llvm] release/19.x: [DAGCombiner] cache negative result from getMergeStoreCandidates() (#106949) (PR #108397)

2024-09-23 Thread Tobias Hieta via llvm-branch-commits
https://github.com/tru updated https://github.com/llvm/llvm-project/pull/108397 >From b91df284f019fd00c9d0ae64a6ce815872071d8e Mon Sep 17 00:00:00 2001 From: Princeton Ferro Date: Wed, 4 Sep 2024 07:18:53 -0700 Subject: [PATCH] [DAGCombiner] cache negative result from getMergeStoreCandidates()

[llvm-branch-commits] [llvm] AMDGPU: Add noalias.addrspace metadata when autoupgrading atomic intrinsics (PR #102599)

2024-09-23 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/102599 >From 1fb6376c0eaa07d8115760a41a59ef1eb989c7db Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Fri, 9 Aug 2024 14:51:41 +0400 Subject: [PATCH] AMDGPU: Add noalias.addrspace metadata when autoupgrading atomic

[llvm-branch-commits] [hwasan] Consider order of mapping copts (PR #109621)

2024-09-23 Thread Vitaly Buka via llvm-branch-commits
vitalybuka wrote: > "Consider"? Done https://github.com/llvm/llvm-project/pull/109621 ___ 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] [hwasan] Consider order of mapping copts (PR #109621)

2024-09-23 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka edited https://github.com/llvm/llvm-project/pull/109621 ___ 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] [NFC][hwasan] Remove code duplication in ShadowMapping::init (PR #109618)

2024-09-23 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka updated https://github.com/llvm/llvm-project/pull/109618 ___ 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] [NFC][hwasan] Remove code duplication in ShadowMapping::init (PR #109618)

2024-09-23 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka updated https://github.com/llvm/llvm-project/pull/109618 ___ 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] [hwasan] Add "-hwasan-with-frame-record" (PR #109620)

2024-09-23 Thread Vitaly Buka via llvm-branch-commits
vitalybuka wrote: > Do you remember why this was implied from the mapping configuration in the > first place? No. https://github.com/llvm/llvm-project/pull/109620 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.l

[llvm-branch-commits] [hwasan] Add "-hwasan-with-frame-record" (PR #109620)

2024-09-23 Thread Florian Mayer via llvm-branch-commits
fmayer wrote: Do you remember why this was implied from the mapping configuration in the first place? https://github.com/llvm/llvm-project/pull/109620 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-b

[llvm-branch-commits] [NFC][hwasan] Use `enum class` in `ShadowMapping` (PR #109617)

2024-09-23 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka updated https://github.com/llvm/llvm-project/pull/109617 ___ 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] [NFC][hwasan] Use `enum class` in `ShadowMapping` (PR #109617)

2024-09-23 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka updated https://github.com/llvm/llvm-project/pull/109617 ___ 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] [hwasan] Replace "-hwasan-with-ifunc" and "-hwasan-with-tls" options (PR #109619)

2024-09-23 Thread Florian Mayer via llvm-branch-commits
https://github.com/fmayer approved this pull request. https://github.com/llvm/llvm-project/pull/109619 ___ 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] [NFC][hwasan] Use `enum class` in `ShadowMapping` (PR #109617)

2024-09-23 Thread Florian Mayer via llvm-branch-commits
https://github.com/fmayer approved this pull request. https://github.com/llvm/llvm-project/pull/109617 ___ 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] [ctx_prof] Automatically convert available external linkage to local for modules with contextual roots (PR #109203)

2024-09-23 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/109203 >From 4b6269df2546069716bf3c7cc566e7ef918a02c5 Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Wed, 18 Sep 2024 14:18:23 -0700 Subject: [PATCH] [ctx_prof] Automatically convert available external linkage to

[llvm-branch-commits] [llvm] [ctx_prof] Automatically convert available external linkage to local for modules with contextual roots (PR #109203)

2024-09-23 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/109203 >From 2f34ca7929fd4040831d1ae51fd65420d5d2b630 Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Wed, 18 Sep 2024 14:18:23 -0700 Subject: [PATCH] [ctx_prof] Automatically convert available external linkage to

[llvm-branch-commits] [llvm] [NVPTX] add support for encoding PTX registers for DWARF (PR #109495)

2024-09-23 Thread William G Hatch via llvm-branch-commits
@@ -141,3 +142,47 @@ NVPTXRegisterInfo::getFrameLocalRegister(const MachineFunction &MF) const { static_cast(MF.getTarget()); return TM.is64Bit() ? NVPTX::VRFrameLocal64 : NVPTX::VRFrameLocal32; } + +void NVPTXRegisterInfo::clearDebugRegisterMap() const { + debugRegis

[llvm-branch-commits] [llvm] [NVPTX] add support for encoding PTX registers for DWARF (PR #109495)

2024-09-23 Thread William G Hatch via llvm-branch-commits
@@ -141,3 +142,47 @@ NVPTXRegisterInfo::getFrameLocalRegister(const MachineFunction &MF) const { static_cast(MF.getTarget()); return TM.is64Bit() ? NVPTX::VRFrameLocal64 : NVPTX::VRFrameLocal32; } + +void NVPTXRegisterInfo::clearDebugRegisterMap() const { + debugRegis

[llvm-branch-commits] [llvm] [NVPTX] add support for encoding PTX registers for DWARF (PR #109495)

2024-09-23 Thread William G Hatch via llvm-branch-commits
@@ -141,3 +142,47 @@ NVPTXRegisterInfo::getFrameLocalRegister(const MachineFunction &MF) const { static_cast(MF.getTarget()); return TM.is64Bit() ? NVPTX::VRFrameLocal64 : NVPTX::VRFrameLocal32; } + +void NVPTXRegisterInfo::clearDebugRegisterMap() const { + debugRegis

[llvm-branch-commits] [llvm] AMDGPU: Expand flat atomics that may access private memory (PR #109407)

2024-09-23 Thread Matt Arsenault via llvm-branch-commits
arsenm wrote: > Thanks. Can this be landed after #102462? That was the plan https://github.com/llvm/llvm-project/pull/109407 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-

[llvm-branch-commits] [llvm] AMDGPU: Expand flat atomics that may access private memory (PR #109407)

2024-09-23 Thread Stanislav Mekhanoshin via llvm-branch-commits
https://github.com/rampitec approved this pull request. Thanks. Can this be landed after https://github.com/llvm/llvm-project/pull/102462? https://github.com/llvm/llvm-project/pull/109407 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.

[llvm-branch-commits] [llvm] AMDGPU: Expand flat atomics that may access private memory (PR #109407)

2024-09-23 Thread Matt Arsenault via llvm-branch-commits
arsenm wrote: > Is there a plan that OpenCL and HIP FE will produce noalias metadata to avoid > the expansion? That's #102462 (although I think it needs refinement to avoid setting it in the std::atomic case) https://github.com/llvm/llvm-project/pull/109407 ___

[llvm-branch-commits] [llvm] AMDGPU: Expand flat atomics that may access private memory (PR #109407)

2024-09-23 Thread Stanislav Mekhanoshin via llvm-branch-commits
rampitec wrote: > > Is it legal and defined behavior to target private memory with an atomic? > > In the IR it would have to be, and this is the expected behavior in OpenMP > and C++. It's UB in OpenCL, and UB in CUDA/HIP for old style atomics, but > defined for new std::atomic style cases Is

[llvm-branch-commits] [compiler-rt] [TySan] Fix struct access with different bases (PR #108385)

2024-09-23 Thread Tavian Barnes via llvm-branch-commits
https://github.com/tavianator approved this pull request. https://github.com/llvm/llvm-project/pull/108385 ___ 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] [mlir] 20f7777 - Revert "[MLIR][XeGPU] Updates XeGPU TensorDescAttr and Refine Gather/Scatter …"

2024-09-23 Thread via llvm-branch-commits
Author: Chao Chen Date: 2024-09-23T09:03:53-05:00 New Revision: 20f5cd2516c1a0ef12d5f8a625b31b2448d5 URL: https://github.com/llvm/llvm-project/commit/20f5cd2516c1a0ef12d5f8a625b31b2448d5 DIFF: https://github.com/llvm/llvm-project/commit/20f5cd2516c1a0ef12d5f8a625b31b2448d5.diff LOG

[llvm-branch-commits] [clang-tools-extra] release/19.x: [clang-tidy] Fix crash in modernize-use-ranges (#100427) (PR #101482)

2024-09-23 Thread via llvm-branch-commits
tupos wrote: Hello, I think there might be some problem with this PR. I updated to 19.1.0 today and started to see crashes with this callstack on random files. So far I was not able to create a minimal working repro to let it reproducibly crashing. Strangely enought it does not always crash o

[llvm-branch-commits] [llvm] [CodeGen][NewPM] Port machine trace metrics analysis to new pass manager. (PR #108507)

2024-09-23 Thread Matt Arsenault via llvm-branch-commits
@@ -102,19 +103,22 @@ class MachineTraceMetrics : public MachineFunctionPass { TargetSchedModel SchedModel; public: + friend class MachineTraceMetricsWrapperPass; friend class Ensemble; friend class Trace; class Ensemble; - static char ID; + // For legacy pas

[llvm-branch-commits] [compiler-rt] [TySan] Fix struct access with different bases (PR #108385)

2024-09-23 Thread via llvm-branch-commits
https://github.com/gbMattN updated https://github.com/llvm/llvm-project/pull/108385 >From 4bde5de87155d131d320ce5db4c9bb69b42d487d Mon Sep 17 00:00:00 2001 From: Matthew Nagy Date: Thu, 12 Sep 2024 12:36:57 + Subject: [PATCH] [TySan] Fix struct access with different bases --- compiler-rt/

[llvm-branch-commits] [llvm] [CodeGen][NewPM] Port machine trace metrics analysis to new pass manager. (PR #108507)

2024-09-23 Thread Christudasan Devadasan via llvm-branch-commits
@@ -102,19 +103,22 @@ class MachineTraceMetrics : public MachineFunctionPass { TargetSchedModel SchedModel; public: + friend class MachineTraceMetricsWrapperPass; friend class Ensemble; friend class Trace; class Ensemble; - static char ID; + // For legacy pas

[llvm-branch-commits] [llvm] [X86][APX] Fix wrong encoding of promoted KMOV instructions due to missing NoCD8 (#109579) (PR #109635)

2024-09-23 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-mc Author: Phoebe Wang (phoebewang) Changes Promoted KMOV* was encoded with CD8 incorrectly, see https://godbolt.org/z/cax513hG1 --- Full diff: https://github.com/llvm/llvm-project/pull/109635.diff 4 Files Affected: - (modified) llvm/lib/Target/X86/

[llvm-branch-commits] [llvm] [X86][APX] Fix wrong encoding of promoted KMOV instructions due to missing NoCD8 (#109579) (PR #109635)

2024-09-23 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-x86 Author: Phoebe Wang (phoebewang) Changes Promoted KMOV* was encoded with CD8 incorrectly, see https://godbolt.org/z/cax513hG1 --- Full diff: https://github.com/llvm/llvm-project/pull/109635.diff 4 Files Affected: - (modified) llvm/lib/Ta

[llvm-branch-commits] [llvm] [X86][APX] Fix wrong encoding of promoted KMOV instructions due to missing NoCD8 (#109579) (PR #109635)

2024-09-23 Thread Phoebe Wang via llvm-branch-commits
https://github.com/phoebewang milestoned https://github.com/llvm/llvm-project/pull/109635 ___ 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] [X86][APX] Fix wrong encoding of promoted KMOV instructions due to missing NoCD8 (#109579) (PR #109635)

2024-09-23 Thread Phoebe Wang via llvm-branch-commits
https://github.com/phoebewang created https://github.com/llvm/llvm-project/pull/109635 Promoted KMOV* was encoded with CD8 incorrectly, see https://godbolt.org/z/cax513hG1 >From b403d2a05b548f24b46bab4c4ae014c9949f3c44 Mon Sep 17 00:00:00 2001 From: Phoebe Wang Date: Mon, 23 Sep 2024 09:41:43

[llvm-branch-commits] [llvm] release/19.x: [LoopPeel] Fix LCSSA phi node invalidation (PR #109624)

2024-09-23 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-transforms Author: None (llvmbot) Changes Backport 5bcc82d43388bb0daa122d5fe7ecda5eca27fc16 Requested by: @nikic --- Full diff: https://github.com/llvm/llvm-project/pull/109624.diff 2 Files Affected: - (modified) llvm/lib/Transforms/Utils/LoopP

[llvm-branch-commits] [llvm] release/19.x: [LoopPeel] Fix LCSSA phi node invalidation (PR #109624)

2024-09-23 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/109624 Backport 5bcc82d43388bb0daa122d5fe7ecda5eca27fc16 Requested by: @nikic >From 9fbd83b1e5b61eb80ba8cef41726a62086ea0ac0 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Fri, 20 Sep 2024 16:57:46 +0200 Subject:

[llvm-branch-commits] [llvm] release/19.x: [LoopPeel] Fix LCSSA phi node invalidation (PR #109624)

2024-09-23 Thread via llvm-branch-commits
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/109624 ___ 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] [hwasan] Check order of mapping flags (PR #109621)

2024-09-23 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-compiler-rt-sanitizer Author: Vitaly Buka (vitalybuka) Changes Flags "-hwasan-mapping-offset" and "-hwasan-mapping-offset-dynamic" are mutually exclusive, use the last one. --- Full diff: https://github.com/llvm/llvm-project/pull/109621.diff 2 Files

[llvm-branch-commits] [hwasan] Check order of mapping flags (PR #109621)

2024-09-23 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-transforms Author: Vitaly Buka (vitalybuka) Changes Flags "-hwasan-mapping-offset" and "-hwasan-mapping-offset-dynamic" are mutually exclusive, use the last one. --- Full diff: https://github.com/llvm/llvm-project/pull/109621.diff 2 Files Affect

[llvm-branch-commits] [hwasan] Replace "-hwasan-with-ifunc" and "-hwasan-with-tls" options (PR #109619)

2024-09-23 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-compiler-rt-sanitizer Author: Vitaly Buka (vitalybuka) Changes Relationship between "-hwasan-mapping-offset", "-hwasan-with-ifunc", and "-hwasan-with-tls" can be to hard to understand. Now we will have "-hwasan-mapping-offset", presense of which will im

[llvm-branch-commits] [hwasan] Add "-hwasan-with-frame-record" (PR #109620)

2024-09-23 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-compiler-rt-sanitizer Author: Vitaly Buka (vitalybuka) Changes It should not be implied form mapping settings. --- Full diff: https://github.com/llvm/llvm-project/pull/109620.diff 4 Files Affected: - (modified) llvm/lib/Transforms/Instrumentation/HW

[llvm-branch-commits] [NFC][hwasan] Remove code duplication in ShadowMapping::init (PR #109618)

2024-09-23 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-transforms @llvm/pr-subscribers-compiler-rt-sanitizer Author: Vitaly Buka (vitalybuka) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/109618.diff 1 Files Affected: - (modified) llvm/lib/Transforms/Instrumentation/HWAddressSani

[llvm-branch-commits] [NFC][hwasan] Use `enum class` in `ShadowMapping` (PR #109617)

2024-09-23 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/109617.diff 1 Files Affected: - (modified) llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp (+30-43) ``diff

[llvm-branch-commits] [NFC][hwasan] Use `enum class` in `ShadowMapping` (PR #109617)

2024-09-23 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/109617.diff 1 Files Affected: - (modified) llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp (+30-43) ``diff diff

[llvm-branch-commits] [flang] [flang] Lower omp.workshare to other omp constructs (PR #101446)

2024-09-23 Thread Ivan R. Ivanov via llvm-branch-commits
https://github.com/ivanradanov updated https://github.com/llvm/llvm-project/pull/101446 >From e56dbd6a0625890fd9a3d6a62675e864ca94a8f5 Mon Sep 17 00:00:00 2001 From: Ivan Radanov Ivanov Date: Sun, 4 Aug 2024 22:06:55 +0900 Subject: [PATCH 1/5] [flang] Lower omp.workshare to other omp constructs

[llvm-branch-commits] [flang] [WIP][flang] Introduce HLFIR lowerings to omp.workshare_loop_nest (PR #104748)

2024-09-23 Thread Ivan R. Ivanov via llvm-branch-commits
https://github.com/ivanradanov updated https://github.com/llvm/llvm-project/pull/104748 >From df6bd4282f21590b9d086608cd2cc136b18d54df Mon Sep 17 00:00:00 2001 From: Ivan Radanov Ivanov Date: Mon, 23 Sep 2024 16:25:55 +0900 Subject: [PATCH 1/3] Fix todo tests --- flang/test/Transforms/OpenMP/

[llvm-branch-commits] [hwasan] Check order of mapping flags (PR #109621)

2024-09-23 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka created https://github.com/llvm/llvm-project/pull/109621 Flags "-hwasan-mapping-offset" and "-hwasan-mapping-offset-dynamic" are mutually exclusive, use the last one. ___ llvm-branch-commits mailing list llvm-branch-com

[llvm-branch-commits] [hwasan] Add "-hwasan-with-frame-record" (PR #109620)

2024-09-23 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka created https://github.com/llvm/llvm-project/pull/109620 It should not be implied form mapping settings. ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/lis

[llvm-branch-commits] [NFC][hwasan] Remove code duplication in ShadowMapping::init (PR #109618)

2024-09-23 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka created https://github.com/llvm/llvm-project/pull/109618 None ___ 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] [hwasan] Replace "-hwasan-with-ifunc" and "-hwasan-with-tls" options (PR #109619)

2024-09-23 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka created https://github.com/llvm/llvm-project/pull/109619 Relationship between "-hwasan-mapping-offset", "-hwasan-with-ifunc", and "-hwasan-with-tls" can be to hard to understand. Now we will have "-hwasan-mapping-offset", presense of which will imply fixed shadow.

[llvm-branch-commits] [NFC][hwasan] Use `enum class` in `ShadowMapping` (PR #109617)

2024-09-23 Thread Vitaly Buka via llvm-branch-commits
https://github.com/vitalybuka created https://github.com/llvm/llvm-project/pull/109617 None ___ 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 omp.workshare to other omp constructs (PR #101446)

2024-09-23 Thread Ivan R. Ivanov via llvm-branch-commits
https://github.com/ivanradanov updated https://github.com/llvm/llvm-project/pull/101446 >From e56dbd6a0625890fd9a3d6a62675e864ca94a8f5 Mon Sep 17 00:00:00 2001 From: Ivan Radanov Ivanov Date: Sun, 4 Aug 2024 22:06:55 +0900 Subject: [PATCH 1/4] [flang] Lower omp.workshare to other omp constructs

[llvm-branch-commits] [flang] [WIP][flang] Introduce HLFIR lowerings to omp.workshare_loop_nest (PR #104748)

2024-09-23 Thread Ivan R. Ivanov via llvm-branch-commits
https://github.com/ivanradanov updated https://github.com/llvm/llvm-project/pull/104748 >From b710a580ab1732b3b41f0e3fb0684b45108d2c09 Mon Sep 17 00:00:00 2001 From: Ivan Radanov Ivanov Date: Mon, 23 Sep 2024 16:04:07 +0900 Subject: [PATCH 1/3] clang-format --- flang/include/flang/Tools/CLOpt

[llvm-branch-commits] [flang] [flang] Lower omp.workshare to other omp constructs (PR #101446)

2024-09-23 Thread Ivan R. Ivanov via llvm-branch-commits
ivanradanov wrote: I have added a comment explaining the limitation of not allowing CFG in workshare for now and an appropriate TODO message for that. Regarding documenting the current supported statements in workshare - this specific commit will still result in the trivial omp.single lowering