[llvm-branch-commits] [clang] release/20.x: [clang-format] Handle C-style cast of member function pointer type (#126340) (PR #126479)

2025-02-09 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang-format Author: None (llvmbot) Changes Backport 8d373ceaec1f1b27c9e682cfaf71aae19ea48d98 Requested by: @owenca --- Full diff: https://github.com/llvm/llvm-project/pull/126479.diff 2 Files Affected: - (modified) clang/lib/Format/TokenAnnotator.c

[llvm-branch-commits] [clang] release/20.x: [clang-format] Handle C-style cast of member function pointer type (#126340) (PR #126479)

2025-02-09 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/126479 Backport 8d373ceaec1f1b27c9e682cfaf71aae19ea48d98 Requested by: @owenca >From f293ba32d675c6e1fb11cce5cdb5fedd2565f278 Mon Sep 17 00:00:00 2001 From: Owen Pan Date: Sat, 8 Feb 2025 23:22:33 -0800 Subject: [PAT

[llvm-branch-commits] [clang] release/20.x: [clang-format] Handle C-style cast of member function pointer type (#126340) (PR #126479)

2025-02-09 Thread via llvm-branch-commits
llvmbot wrote: @HazardyKnusperkeks What do you think about merging this PR to the release branch? https://github.com/llvm/llvm-project/pull/126479 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/m

[llvm-branch-commits] [clang] release/20.x: [clang-format] Handle C-style cast of member function pointer type (#126340) (PR #126479)

2025-02-09 Thread via llvm-branch-commits
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/126479 ___ 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] [ELF] Add support for CREL locations for SHT_LLVM_BB_ADDR_MAP (PR #126446)

2025-02-09 Thread Fangrui Song via llvm-branch-commits
https://github.com/MaskRay approved this pull request. https://github.com/llvm/llvm-project/pull/126446 ___ 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] [AMDGPU] Remove dead function metadata after amdgpu-lower-kernel-arguments (PR #126147)

2025-02-09 Thread Matt Arsenault via llvm-branch-commits
@@ -1,7 +1,7 @@ -; RUN: not --crash opt -mtriple=amdgcn-amd-amdhsa -mcpu=gfx940 -passes='amdgpu-attributor,function(amdgpu-lower-kernel-arguments)' -amdgpu-kernarg-preload-count=16 -S < %s 2>&1 | FileCheck %s +; RUN: opt -mtriple=amdgcn-amd-amdhsa -mcpu=gfx940 -passes='amdgpu-a

[llvm-branch-commits] [llvm] [AMDGPU] Remove dead function metadata after amdgpu-lower-kernel-arguments (PR #126147)

2025-02-09 Thread Matt Arsenault via llvm-branch-commits
@@ -1,7 +1,7 @@ -; RUN: not --crash opt -mtriple=amdgcn-amd-amdhsa -mcpu=gfx940 -passes='amdgpu-attributor,function(amdgpu-lower-kernel-arguments)' -amdgpu-kernarg-preload-count=16 -S < %s 2>&1 | FileCheck %s +; RUN: opt -mtriple=amdgcn-amd-amdhsa -mcpu=gfx940 -passes='amdgpu-a

[llvm-branch-commits] [llvm] [AMDGPU] Remove dead function metadata after amdgpu-lower-kernel-arguments (PR #126147)

2025-02-09 Thread Matt Arsenault via llvm-branch-commits
@@ -1,7 +1,7 @@ -; RUN: not --crash opt -mtriple=amdgcn-amd-amdhsa -mcpu=gfx940 -passes='amdgpu-attributor,function(amdgpu-lower-kernel-arguments)' -amdgpu-kernarg-preload-count=16 -S < %s 2>&1 | FileCheck %s +; RUN: opt -mtriple=amdgcn-amd-amdhsa -mcpu=gfx940 -passes='amdgpu-a

[llvm-branch-commits] [clang] [MC/DC] Create dedicated MCDCCondBitmapAddr for each Decision (PR #125411)

2025-02-09 Thread Jessica Paquette via llvm-branch-commits
@@ -1245,9 +1245,29 @@ void CodeGenPGO::emitMCDCParameters(CGBuilderTy &Builder) { CGM.getIntrinsic(llvm::Intrinsic::instrprof_mcdc_parameters), Args); } +/// Fill mcdc.addr order by ID. +std::vector +CodeGenPGO::getMCDCCondBitmapAddrArray(CGBuilderTy &Builder) { + std

[llvm-branch-commits] [clang] [MC/DC] Create dedicated MCDCCondBitmapAddr for each Decision (PR #125411)

2025-02-09 Thread Jessica Paquette via llvm-branch-commits
@@ -1245,9 +1245,29 @@ void CodeGenPGO::emitMCDCParameters(CGBuilderTy &Builder) { CGM.getIntrinsic(llvm::Intrinsic::instrprof_mcdc_parameters), Args); } +/// Fill mcdc.addr order by ID. +std::vector +CodeGenPGO::getMCDCCondBitmapAddrArray(CGBuilderTy &Builder) { + std

[llvm-branch-commits] [ELF] Add support for CREL locations for SHT_LLVM_BB_ADDR_MAP (PR #126446)

2025-02-09 Thread Aiden Grossman via llvm-branch-commits
boomanaiden154 wrote: This is a stacked PR on top of #126445. https://github.com/llvm/llvm-project/pull/126446 ___ 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] [ELF] Add support for CREL locations for SHT_LLVM_BB_ADDR_MAP (PR #126446)

2025-02-09 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-binary-utilities Author: Aiden Grossman (boomanaiden154) Changes This patch adds support for properly decoding SHT_LLVM_BB_ADDR_MAP sections in relocatable object files when the relocation format is CREL. --- Full diff: https://github.com/llvm/llv

[llvm-branch-commits] [ELF] Add support for CREL locations for SHT_LLVM_BB_ADDR_MAP (PR #126446)

2025-02-09 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 created https://github.com/llvm/llvm-project/pull/126446 This patch adds support for properly decoding SHT_LLVM_BB_ADDR_MAP sections in relocatable object files when the relocation format is CREL. ___ llvm-branch-co

[llvm-branch-commits] [libcxx] [libc++] Make benchmarks dry-run by default on the release branch (PR #126441)

2025-02-09 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-libcxx Author: Louis Dionne (ldionne) Changes As reported in #125510, doing a full run of the benchmarks during release testing breaks for some of the testers, and it also takes a long time. The proper fix would be for the release testing process to ca

[llvm-branch-commits] [libcxx] [libc++] Make benchmarks dry-run by default on the release branch (PR #126441)

2025-02-09 Thread Louis Dionne via llvm-branch-commits
https://github.com/ldionne created https://github.com/llvm/llvm-project/pull/126441 As reported in #125510, doing a full run of the benchmarks during release testing breaks for some of the testers, and it also takes a long time. The proper fix would be for the release testing process to call `

[llvm-branch-commits] [clang] release/20.x: [CSKY] Default to unsigned char (PR #126436)

2025-02-09 Thread Alexander Richardson via llvm-branch-commits
arichardson wrote: I feel it would make sense to backport this to the release so that Rust built against LLVM20 has a consistent c_char signedness (https://github.com/rust-lang/rust/pull/132975) https://github.com/llvm/llvm-project/pull/126436 ___ ll

[llvm-branch-commits] [clang] release/20.x: [CSKY] Default to unsigned char (PR #126436)

2025-02-09 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang-driver @llvm/pr-subscribers-clang Author: None (llvmbot) Changes Backport d2047242e6d0f0deb7634ff22ab164354c520c79 Requested by: @arichardson --- Full diff: https://github.com/llvm/llvm-project/pull/126436.diff 2 Files Affected: - (modified) c

[llvm-branch-commits] [clang] release/20.x: [CSKY] Default to unsigned char (PR #126436)

2025-02-09 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/126436 Backport d2047242e6d0f0deb7634ff22ab164354c520c79 Requested by: @arichardson >From 667cb0192d9b32ca15d58ad83285c735d4363f26 Mon Sep 17 00:00:00 2001 From: Alexander Richardson Date: Sun, 9 Feb 2025 12:18:52 -0

[llvm-branch-commits] [clang] release/20.x: [CSKY] Default to unsigned char (PR #126436)

2025-02-09 Thread via llvm-branch-commits
llvmbot wrote: @zixuan-wu What do you think about merging this PR to the release branch? https://github.com/llvm/llvm-project/pull/126436 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/lis

[llvm-branch-commits] [clang] release/20.x: [CSKY] Default to unsigned char (PR #126436)

2025-02-09 Thread via llvm-branch-commits
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/126436 ___ 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] [AVR] Backport #118015 and #121498 (PR #125081)

2025-02-09 Thread Patryk Wychowaniec via llvm-branch-commits
Patryk27 wrote: Ah, I see - so the only remaining option is for Zig to apply the patch on its own side, it seems. https://github.com/llvm/llvm-project/pull/125081 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.ll

[llvm-branch-commits] [llvm] [AVR] Backport #118015 and #121498 (PR #125081)

2025-02-09 Thread Nikita Popov via llvm-branch-commits
nikic wrote: > Ah, that tracks! Is there a timeline for getting rustc to LLVM 20? We've decided to wait for beta branch before merging the LLVM 20 upgrade, so the target is Feb 14. > Not sure what's the next step (can't merge it myself here :-P) - cc @nikic? As the LLVM 20 release cycle has s