[llvm-branch-commits] [clang] 7cbbfc9 - Revert "[CIR] Upstream CIR codegen for mxcsr x86 builtins (#167948)"

2025-11-19 Thread via llvm-branch-commits
Author: Thibault Monnier Date: 2025-11-19T22:49:15+01:00 New Revision: 7cbbfc9e5b032c11e1ede196965007fa8fcae53a URL: https://github.com/llvm/llvm-project/commit/7cbbfc9e5b032c11e1ede196965007fa8fcae53a DIFF: https://github.com/llvm/llvm-project/commit/7cbbfc9e5b032c11e1ede196965007fa8fcae53a.di

[llvm-branch-commits] [llvm] [OpenMP] Apply COLLAPSE to innermost leaf that allows it (PR #167565)

2025-11-19 Thread Tom Eccles via llvm-branch-commits
https://github.com/tblah commented: Is there no way to test this? https://github.com/llvm/llvm-project/pull/167565 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commi

[llvm-branch-commits] [llvm] [BPF] add allows-misaligned-mem-access target feature (PR #168314)

2025-11-19 Thread Claire Fan via llvm-branch-commits
clairechingching wrote: @c-rhodes thanks for the clarification! @tru This change is a feature that doesn’t alter the default behavior, it simply enables misalignment support for the BPF target when explicitly requested. We’d like to backport it so that the Rust compiler can take advantage of

[llvm-branch-commits] [llvm] [BPF] add allows-misaligned-mem-access target feature (PR #168314)

2025-11-19 Thread Claire Fan via llvm-branch-commits
https://github.com/clairechingching edited https://github.com/llvm/llvm-project/pull/168314 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [lld] [llvm] ELF: Add support for relocating R_AARCH64_FUNCINIT64. (PR #156564)

2025-11-19 Thread Peter Collingbourne via llvm-branch-commits
https://github.com/pcc updated https://github.com/llvm/llvm-project/pull/156564 >From 8ff2a41e7b5450df7779a8e86a32d1fa5713f33e Mon Sep 17 00:00:00 2001 From: Peter Collingbourne Date: Tue, 2 Sep 2025 18:27:41 -0700 Subject: [PATCH 1/2] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20ch?= =?U

[llvm-branch-commits] [lld] ELF: Add support for relocating R_AARCH64_FUNCINIT64. (PR #156564)

2025-11-19 Thread Florian Mayer via llvm-branch-commits
https://github.com/fmayer approved this pull request. lgtm https://github.com/llvm/llvm-project/pull/156564 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [llvm] [PowerPC] Add AMO load signed builtins (PR #168747)

2025-11-19 Thread Maryam Moghadas via llvm-branch-commits
https://github.com/maryammo updated https://github.com/llvm/llvm-project/pull/168747 >From 962119bdda50304f82ffb4569a262594945951cd Mon Sep 17 00:00:00 2001 From: Maryam Moghadas Date: Wed, 19 Nov 2025 16:46:34 + Subject: [PATCH 1/2] [PowerPC] Add AMO load signed builtins This commit adds

[llvm-branch-commits] [clang] [llvm] [PowerPC] Add AMO load signed builtins (PR #168747)

2025-11-19 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Maryam Moghadas (maryammo) Changes This commit adds two Clang builtins for AMO load signed operations: __builtin_amo_lwat_st for 32-bit signed operations __builtin_amo_ldat_s for 64-bit signed operations --- Full diff: https://github.com

[llvm-branch-commits] [clang] [llvm] [PowerPC] Add AMO load signed builtins (PR #168747)

2025-11-19 Thread Maryam Moghadas via llvm-branch-commits
https://github.com/maryammo created https://github.com/llvm/llvm-project/pull/168747 This commit adds two Clang builtins for AMO load signed operations: __builtin_amo_lwat_st for 32-bit signed operations __builtin_amo_ldat_s for 64-bit signed operations >From 962119bdda50304f82ffb4569a2625949

[llvm-branch-commits] [llvm] [AMDGPU] Implement CFI for CSR spills (PR #164724)

2025-11-19 Thread Scott Linder via llvm-branch-commits
https://github.com/slinder1 edited https://github.com/llvm/llvm-project/pull/164724 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [AMDGPU] Implement CFI for CSR spills (PR #164724)

2025-11-19 Thread Scott Linder via llvm-branch-commits
https://github.com/slinder1 edited https://github.com/llvm/llvm-project/pull/164724 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [AMDGPU] Implement CFI for CSR spills (PR #164724)

2025-11-19 Thread Scott Linder via llvm-branch-commits
@@ -2244,17 +2244,49 @@ bool SIFrameLowering::allocateScavengingFrameIndexesNearIncomingSP( return true; } +static bool isLiveIntoMBB(MCRegister Reg, MachineBasicBlock &MBB, slinder1 wrote: > For cases like a livein list including $vgpr0_vgpr1, I'm not su

[llvm-branch-commits] [ASan] Make duplicate_os_log_reports.cpp work with the internal shell (PR #168656)

2025-11-19 Thread Aiden Grossman via llvm-branch-commits
@@ -1,20 +1,16 @@ // UNSUPPORTED: ios // REQUIRES: darwin_log_cmd // RUN: %clangxx_asan -fsanitize-recover=address %s -o %t -// RUN: { %env_asan_opts=halt_on_error=0,log_to_syslog=1 %run %t > %t.process_output.txt 2>&1 & } \ -// RUN: ; export TEST_PID=$! ; wait ${TEST_PID} +//

[llvm-branch-commits] [ASan] Make duplicate_os_log_reports.cpp work with the internal shell (PR #168656)

2025-11-19 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/168656 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [ASan] Make duplicate_os_log_reports.cpp work with the internal shell (PR #168656)

2025-11-19 Thread Andrew Haberlandt via llvm-branch-commits
@@ -1,20 +1,16 @@ // UNSUPPORTED: ios // REQUIRES: darwin_log_cmd // RUN: %clangxx_asan -fsanitize-recover=address %s -o %t -// RUN: { %env_asan_opts=halt_on_error=0,log_to_syslog=1 %run %t > %t.process_output.txt 2>&1 & } \ -// RUN: ; export TEST_PID=$! ; wait ${TEST_PID} +//

[llvm-branch-commits] [ASan] Make duplicate_os_log_reports.cpp work with the internal shell (PR #168656)

2025-11-19 Thread Aiden Grossman via llvm-branch-commits
@@ -1,20 +1,16 @@ // UNSUPPORTED: ios // REQUIRES: darwin_log_cmd // RUN: %clangxx_asan -fsanitize-recover=address %s -o %t -// RUN: { %env_asan_opts=halt_on_error=0,log_to_syslog=1 %run %t > %t.process_output.txt 2>&1 & } \ -// RUN: ; export TEST_PID=$! ; wait ${TEST_PID} +//

[llvm-branch-commits] [compiler-rt] [ASan] Make dyld_insert_libraries_reexec work with internal shell (PR #168655)

2025-11-19 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/168655 >From 43de7d103c99fb50167129291f14c9b28af92687 Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Wed, 19 Nov 2025 16:55:18 + Subject: [PATCH] feedback Created using spr 1.3.7 --- compiler-rt/test/

[llvm-branch-commits] [ASan] Make duplicate_os_log_reports.cpp work with the internal shell (PR #168656)

2025-11-19 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/168656 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [ASan] Make dyld_insert_libraries_reexec work with internal shell (PR #168655)

2025-11-19 Thread via llvm-branch-commits
github-actions[bot] wrote: # :penguin: Linux x64 Test Results * 5820 tests passed * 1319 tests skipped https://github.com/llvm/llvm-project/pull/168655 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi

[llvm-branch-commits] [ASan] Make dyld_insert_libraries_reexec work with internal shell (PR #168655)

2025-11-19 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/168655 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [ASan] Make dyld_insert_libraries_reexec work with internal shell (PR #168655)

2025-11-19 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/168655 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [ASan] Make duplicate_os_log_reports.cpp work with the internal shell (PR #168656)

2025-11-19 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/168656 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [ASan] Make duplicate_os_log_reports.cpp work with the internal shell (PR #168656)

2025-11-19 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/168656 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [BOLT][BTI] Add MCPlusBuilder::updateBTIVariant (PR #167308)

2025-11-19 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-bolt Author: Gergely Bálint (bgergely0) Changes Checks if an instruction is BTI, and updates the immediate value to the newly requested variant. This can be used in situations when the compiler already inserted a BTI landing pad to a location, but

[llvm-branch-commits] [llvm] [BOLT][BTI] Add MCPlusBuilder::addBTItoBBStart (PR #167329)

2025-11-19 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-bolt Author: Gergely Bálint (bgergely0) Changes This function contains most of the logic for BTI: - it takes the BasicBlock and the instruction used to jump to it. - then it checks if the first non-pseudo instruction is a sufficient landing pad for the u

[llvm-branch-commits] [llvm] [BOLT][BTI] Add MCPlusBuilder::isBTILandingPad (PR #167306)

2025-11-19 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-bolt Author: Gergely Bálint (bgergely0) Changes - takes both implicit and explicit BTIs into account - fix related comment in AArch64BranchTargets.cpp --- Full diff: https://github.com/llvm/llvm-project/pull/167306.diff 4 Files Affected: - (modified)

[llvm-branch-commits] [llvm] [BOLT][BTI] Add MCPlusBuilder::addBTItoBBStart (PR #167329)

2025-11-19 Thread Gergely Bálint via llvm-branch-commits
https://github.com/bgergely0 ready_for_review https://github.com/llvm/llvm-project/pull/167329 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [BOLT][BTI] Add MCPlusBuilder::isBTILandingPad (PR #167306)

2025-11-19 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-aarch64 Author: Gergely Bálint (bgergely0) Changes - takes both implicit and explicit BTIs into account - fix related comment in AArch64BranchTargets.cpp --- Full diff: https://github.com/llvm/llvm-project/pull/167306.diff 4 Files Affected: -

[llvm-branch-commits] [llvm] [BOLT][BTI] Add MCPlusBuilder::isBTILandingPad (PR #167306)

2025-11-19 Thread Gergely Bálint via llvm-branch-commits
https://github.com/bgergely0 ready_for_review https://github.com/llvm/llvm-project/pull/167306 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [BOLT][BTI] Add MCPlusBuilder::updateBTIVariant (PR #167308)

2025-11-19 Thread Gergely Bálint via llvm-branch-commits
https://github.com/bgergely0 ready_for_review https://github.com/llvm/llvm-project/pull/167308 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [BOLT][BTI] Add MCPlusBuilder::updateBTIVariant (PR #167308)

2025-11-19 Thread Gergely Bálint via llvm-branch-commits
https://github.com/bgergely0 edited https://github.com/llvm/llvm-project/pull/167308 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [BOLT][BTI] Add MCPlusBuilder::updateBTIVariant (PR #167308)

2025-11-19 Thread Gergely Bálint via llvm-branch-commits
https://github.com/bgergely0 edited https://github.com/llvm/llvm-project/pull/167308 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [BOLT][BTI] Add MCPlusBuilder::updateBTIVariant (PR #167308)

2025-11-19 Thread Gergely Bálint via llvm-branch-commits
https://github.com/bgergely0 edited https://github.com/llvm/llvm-project/pull/167308 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [LV] Use assertion in VPExpressionRecipe creation (PR #165543)

2025-11-19 Thread Sam Tebbs via llvm-branch-commits
https://github.com/SamTebbs33 closed https://github.com/llvm/llvm-project/pull/165543 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [LV] Use assertion in VPExpressionRecipe creation (PR #165543)

2025-11-19 Thread Sam Tebbs via llvm-branch-commits
SamTebbs33 wrote: Not needed as we'll be moving towards creating partial reductions during the VPExpressionRecipe creation process. https://github.com/llvm/llvm-project/pull/165543 ___ llvm-branch-commits mailing list [email protected]

[llvm-branch-commits] [llvm] [SelectionDAG] Split vector types for atomic load (PR #165818)

2025-11-19 Thread Simon Pilgrim via llvm-branch-commits
https://github.com/RKSimon approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/165818 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] DAG: Use poison for some vector result widening (PR #168290)

2025-11-19 Thread Simon Pilgrim via llvm-branch-commits
https://github.com/RKSimon approved this pull request. LGTM - cheers https://github.com/llvm/llvm-project/pull/168290 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-co

[llvm-branch-commits] [llvm] [BPF] add allows-misaligned-mem-access target feature (PR #168314)

2025-11-19 Thread Cullen Rhodes via llvm-branch-commits
c-rhodes wrote: oops, apologies I didn't mean to trigger the bot, please ignore that. https://github.com/llvm/llvm-project/pull/168314 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listin

[llvm-branch-commits] [llvm] [BPF] add allows-misaligned-mem-access target feature (PR #168314)

2025-11-19 Thread via llvm-branch-commits
llvmbot wrote: >@clairechingching backports are typically done via the `/cherry-pick ` >command left as a comment on the original PR, it's documented here: >https://llvm.org/docs/GitHub.html#backporting-fixes-to-the-release-branches > >although I would say it's unlikely this will get backporte

[llvm-branch-commits] [llvm] [BPF] add allows-misaligned-mem-access target feature (PR #168314)

2025-11-19 Thread Cullen Rhodes via llvm-branch-commits
c-rhodes wrote: @clairechingching backports are typically done via the `/cherry-pick ` command left as a comment on the original PR, it's documented here: https://llvm.org/docs/GitHub.html#backporting-fixes-to-the-release-branches although I would say it's unlikely this will get backported so

[llvm-branch-commits] [ASan] Make dyld_insert_libraries_reexec work with internal shell (PR #168655)

2025-11-19 Thread Andrew Haberlandt via llvm-branch-commits
@@ -8,3 +11,25 @@ def getRoot(config): if root.target_os not in ["Darwin"]: config.unsupported = True + + +def get_product_version(): +try: +version_process = subprocess.run( +["sw_vers", "-productVersion"], +check=True, +std

[llvm-branch-commits] [ASan] Make dyld_insert_libraries_reexec work with internal shell (PR #168655)

2025-11-19 Thread Andrew Haberlandt via llvm-branch-commits
https://github.com/ndrewh approved this pull request. https://github.com/llvm/llvm-project/pull/168655 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] DAG: Use poison for some vector result widening (PR #168290)

2025-11-19 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-x86 Author: Matt Arsenault (arsenm) Changes --- Patch is 76.41 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/168290.diff 6 Files Affected: - (modified) llvm/lib/CodeGen/SelectionDAG/LegalizeVect

[llvm-branch-commits] [ASan] Make dyld_insert_libraries_reexec work with internal shell (PR #168655)

2025-11-19 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-compiler-rt-sanitizer Author: Aiden Grossman (boomanaiden154) Changes This test was doing some feature checks within the test itself. This patch rewrites the feature checks to be done in a fashion more idiomatic to lit, as the internal shell does not sup

[llvm-branch-commits] [ASan] Make duplicate_os_log_reports.cpp work with the internal shell (PR #168656)

2025-11-19 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-compiler-rt-sanitizer Author: Aiden Grossman (boomanaiden154) Changes This test used a for loop to implement retries and also did some trickery with PIDs. For this test, just invoke bash for actually running the test given we need the PID, and move the

[llvm-branch-commits] [ASan] Make duplicate_os_log_reports.cpp work with the internal shell (PR #168656)

2025-11-19 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 created https://github.com/llvm/llvm-project/pull/168656 This test used a for loop to implement retries and also did some trickery with PIDs. For this test, just invoke bash for actually running the test given we need the PID, and move the for loop into a sepa

[llvm-branch-commits] [ASan] Make dyld_insert_libraries_reexec work with internal shell (PR #168655)

2025-11-19 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 created https://github.com/llvm/llvm-project/pull/168655 This test was doing some feature checks within the test itself. This patch rewrites the feature checks to be done in a fashion more idiomatic to lit, as the internal shell does not support the features nee

[llvm-branch-commits] [llvm] [TableGen] Strip directories from filename prefixes. (PR #168352)

2025-11-19 Thread Ivan Kosarev via llvm-branch-commits
https://github.com/kosarev closed https://github.com/llvm/llvm-project/pull/168352 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] AMDGPU/GlobalISel: RegBankLegalize rules for G_FABS and G_FNEG (PR #168411)

2025-11-19 Thread Petar Avramovic via llvm-branch-commits
petar-avramovic 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.com/github/pr/llvm/llvm-project/168411?utm_source=stack-comment-downstack-mergeability-w

[llvm-branch-commits] [lld] release/21.x: [LLD][COFF] Align EC code ranges to page boundaries (#168222) (PR #168369)

2025-11-19 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/168369 Backport af45b0202cdd443beedb02392f653d8cff5bd931 Requested by: @cjacek >From fb641d8e566da6cf431398e85faa1254914751ed Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Mon, 17 Nov 2025 12:44:22 +0100 Subject:

[llvm-branch-commits] [llvm] [BOLT] Match functions with pseudo probes (PR #100446)

2025-11-19 Thread Maksim Panchenko via llvm-branch-commits
@@ -592,72 +633,276 @@ size_t YAMLProfileReader::matchWithCallGraph(BinaryContext &BC) { return MatchedWithCallGraph; } -size_t YAMLProfileReader::InlineTreeNodeMapTy::matchInlineTrees( -const MCPseudoProbeDecoder &Decoder, -const std::vector &DecodedInlineTree, -

[llvm-branch-commits] [llvm] [AMDGPU][SIMemoryLegalizer] Combine GFX10-11 CacheControl Classes (PR #168058)

2025-11-19 Thread Pierre van Houtryve via llvm-branch-commits
https://github.com/Pierre-vh updated https://github.com/llvm/llvm-project/pull/168058 >From 5700ad0a2fb2a859e7c46c6690854c35206155f0 Mon Sep 17 00:00:00 2001 From: pvanhout Date: Mon, 17 Nov 2025 10:05:14 +0100 Subject: [PATCH 1/2] nit >From e060c5eba50d75216d628e16da72929b71aa9a30 Mon Sep 17

[llvm-branch-commits] [clang] [clang-tools-extra] [flang] [libcxx] [lldb] [llvm] [mlir] [DAGCombiner] Relax nsz constraint for more FP optimizations (PR #165011)

2025-11-19 Thread Guy David via llvm-branch-commits
https://github.com/guy-david updated https://github.com/llvm/llvm-project/pull/165011 error: too big or took too long to generate ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/ll

[llvm-branch-commits] [llvm] [DAGCombiner] Relax nsz constraint for more FP optimizations (PR #165011)

2025-11-19 Thread Guy David via llvm-branch-commits
https://github.com/guy-david updated https://github.com/llvm/llvm-project/pull/165011 >From 01e872d95c1708392ae429879f36f6a32ca4889a Mon Sep 17 00:00:00 2001 From: Guy David Date: Fri, 24 Oct 2025 19:30:19 +0300 Subject: [PATCH] [DAGCombiner] Relax nsz constraint for FP optimizations Some floa

[llvm-branch-commits] [llvm] [BPF] add allows-misaligned-mem-access target feature (PR #168314)

2025-11-19 Thread Claire Fan via llvm-branch-commits
https://github.com/clairechingching edited https://github.com/llvm/llvm-project/pull/168314 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [BOLT] Rename Pointer Auth DWARF rewriter passes (PR #164622)

2025-11-19 Thread Gergely Bálint via llvm-branch-commits
https://github.com/bgergely0 edited https://github.com/llvm/llvm-project/pull/164622 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [BOLT]Rename Pointer Auth DWARF rewriter passes (PR #164622)

2025-11-19 Thread Gergely Bálint via llvm-branch-commits
https://github.com/bgergely0 edited https://github.com/llvm/llvm-project/pull/164622 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [BOLT] Match functions with pseudo probes (PR #100446)

2025-11-19 Thread Maksim Panchenko via llvm-branch-commits
@@ -592,72 +633,276 @@ size_t YAMLProfileReader::matchWithCallGraph(BinaryContext &BC) { return MatchedWithCallGraph; } -size_t YAMLProfileReader::InlineTreeNodeMapTy::matchInlineTrees( -const MCPseudoProbeDecoder &Decoder, -const std::vector &DecodedInlineTree, -

[llvm-branch-commits] [llvm] release/21.x: [ARM] Use TargetMachine over Subtarget in ARMAsmPrinter (#166329) (PR #168380)

2025-11-19 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/168380 Backport 4d1f2492d26f8c2fad0eee2a141c7e0bbbc4c868 Requested by: @davemgreen >From 7c585c9c8b7fb78d8107912de47bbd35e8379f7c Mon Sep 17 00:00:00 2001 From: David Green Date: Wed, 12 Nov 2025 16:26:21 + Subje

[llvm-branch-commits] [llvm] [AMDGPU][SIMemoryLegalizer] Combine GFX10-11 CacheControl Classes (PR #168058)

2025-11-19 Thread Pierre van Houtryve via llvm-branch-commits
https://github.com/Pierre-vh updated https://github.com/llvm/llvm-project/pull/168058 >From 5700ad0a2fb2a859e7c46c6690854c35206155f0 Mon Sep 17 00:00:00 2001 From: pvanhout Date: Mon, 17 Nov 2025 10:05:14 +0100 Subject: [PATCH 1/2] nit >From e060c5eba50d75216d628e16da72929b71aa9a30 Mon Sep 17

[llvm-branch-commits] [llvm] [AMDGPU][SIMemoryLegalizer] Combine GFX10-11 CacheControl Classes (PR #168058)

2025-11-19 Thread Pierre van Houtryve via llvm-branch-commits
https://github.com/Pierre-vh updated https://github.com/llvm/llvm-project/pull/168058 >From f0a60702ef1dba4a3545848ff4791fceda7abc51 Mon Sep 17 00:00:00 2001 From: pvanhout Date: Fri, 14 Nov 2025 14:29:11 +0100 Subject: [PATCH] [AMDGPU][SIMemoryLegalizer] Combine GFX10-11 CacheControl Classes

[llvm-branch-commits] [llvm] [BOLT] Rename Pointer Auth DWARF rewriter passes (PR #164622)

2025-11-19 Thread Paschalis Mpeis via llvm-branch-commits
Gergely =?utf-8?q?B=C3=A1lint?= , Gergely =?utf-8?q?B=C3=A1lint?= ,Gergely Balint ,Gergely Balint ,Gergely Balint Message-ID: In-Reply-To: https://github.com/paschalis-mpeis approved this pull request. https://github.com/llvm/llvm-project/pull/164622

[llvm-branch-commits] [llvm] AMDGPU/GlobalISel: RegBankLegalize rules for G_FABS and G_FNEG (PR #168411)

2025-11-19 Thread Petar Avramovic via llvm-branch-commits
https://github.com/petar-avramovic ready_for_review https://github.com/llvm/llvm-project/pull/168411 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [AArch64][SME] Handle zeroing ZA and ZT0 in functions with ZT0 state (PR #166361)

2025-11-19 Thread Sander de Smalen via llvm-branch-commits
@@ -356,20 +356,13 @@ define void @new_za_zt0_caller(ptr %callee) "aarch64_new_za" "aarch64_new_zt0" n ; Expect clear ZA on entry define void @new_za_shared_zt0_caller(ptr %callee) "aarch64_new_za" "aarch64_in_zt0" nounwind { -; CHECK-LABEL: new_za_shared_zt0_caller: -; CHEC

[llvm-branch-commits] [llvm] [DAGCombiner] Relax nsz constraint with fp->int->fp optimizations (PR #164503)

2025-11-19 Thread Guy David via llvm-branch-commits
@@ -6075,6 +6075,35 @@ bool SelectionDAG::isKnownNeverZeroFloat(SDValue Op) const { Op, [](ConstantFPSDNode *C) { return !C->isZero(); }); } +bool SelectionDAG::allUsesSignedZeroInsensitive(SDValue Op) const { + assert(Op.getValueType().isFloatingPoint()); + return al

[llvm-branch-commits] [llvm] release/21.x: [CodeGen][ARM64EC] Don't treat guest exit thunks as indirect calls (#165885) (PR #168371)

2025-11-19 Thread via llvm-branch-commits
dyung wrote: Hi, at this point in the 21.x release branch we are only accepting patches that fix regressions or major issues. Was the problem being fixed here a recent regression? From a quick look at the history, the code being replaced was introduced around the LLVM 18 time frame, so it has

[llvm-branch-commits] [llvm] AMDGPU/GlobalISel: RegBankLegalize rules for G_FABS and G_FNEG (PR #168411)

2025-11-19 Thread via llvm-branch-commits
github-actions[bot] wrote: # :penguin: Linux x64 Test Results * 186276 tests passed * 4848 tests skipped https://github.com/llvm/llvm-project/pull/168411 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/c

[llvm-branch-commits] [llvm] [BOLT] Rename Pointer Auth DWARF rewriter passes (PR #164622)

2025-11-19 Thread Gergely Bálint via llvm-branch-commits
https://github.com/bgergely0 edited https://github.com/llvm/llvm-project/pull/164622 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [BPF] add allows-misaligned-mem-access target feature (PR #168314)

2025-11-19 Thread Claire Fan via llvm-branch-commits
https://github.com/clairechingching created https://github.com/llvm/llvm-project/pull/168314 I'd like to backport this change to handle misaligned memory access in the BPF target which was merged in [this original PR](https://github.com/llvm/llvm-project/pull/167013). Backporting it so I can

[llvm-branch-commits] [llvm] [AArch64][SME] Handle zeroing ZA and ZT0 in functions with ZT0 state (PR #166361)

2025-11-19 Thread Sander de Smalen via llvm-branch-commits
@@ -406,9 +406,7 @@ FunctionInfo MachineSMEABI::collectNeededZAStates(SMEAttrs SMEFnAttrs) { if (MBB.isEntryBlock()) { // Entry block: - Block.FixedEntryState = SMEFnAttrs.hasPrivateZAInterface() - ? ZAState::CALLER_DORMANT -

[llvm-branch-commits] [lld] release/21.x: [LLD][COFF] Align EC code ranges to page boundaries (#168222) (PR #168369)

2025-11-19 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-platform-windows Author: None (llvmbot) Changes Backport af45b0202cdd443beedb02392f653d8cff5bd931 Requested by: @cjacek --- Full diff: https://github.com/llvm/llvm-project/pull/168369.diff 2 Files Affected: - (modified) lld/COFF/Chunks.cpp (+1-1) -

[llvm-branch-commits] [llvm] release/21.x: [ARM] Use TargetMachine over Subtarget in ARMAsmPrinter (#166329) (PR #168380)

2025-11-19 Thread via llvm-branch-commits
llvmbot wrote: @efriedma-quic What do you think about merging this PR to the release branch? https://github.com/llvm/llvm-project/pull/168380 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman

[llvm-branch-commits] [llvm] [TableGen] Strip directories from filename prefixes. (PR #168352)

2025-11-19 Thread Ivan Kosarev via llvm-branch-commits
kosarev 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.com/github/pr/llvm/llvm-project/168352?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [llvm] [BOLT] Rename Pointer Auth DWARF rewriter passes (PR #164622)

2025-11-19 Thread Gergely Bálint via llvm-branch-commits
bgergely0 wrote: Done! https://github.com/llvm/llvm-project/pull/164622 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [lld] release/21.x: [LLD][COFF] Align EC code ranges to page boundaries (#168222) (PR #168369)

2025-11-19 Thread via llvm-branch-commits
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/168369 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] AMDGPU/GlobalISel: RegBankLegalize rules for G_FABS and G_FNEG (PR #168411)

2025-11-19 Thread Petar Avramovic via llvm-branch-commits
@@ -0,0 +1,233 @@ +; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py +; RUN: llc -mtriple=amdgcn-amd-amdpal -mattr=-real-true16 -mcpu=gfx1100 -o - %s | FileCheck -check-prefixes=GCN,GFX11,GFX11-SDAG %s +; RUN: llc -global-isel -new-reg-bank-select -mtr

[llvm-branch-commits] [llvm] [AMDGPU][SIMemoryLegalizer] Combine GFX10-11 CacheControl Classes (PR #168058)

2025-11-19 Thread Pierre van Houtryve via llvm-branch-commits
https://github.com/Pierre-vh updated https://github.com/llvm/llvm-project/pull/168058 >From f0a60702ef1dba4a3545848ff4791fceda7abc51 Mon Sep 17 00:00:00 2001 From: pvanhout Date: Fri, 14 Nov 2025 14:29:11 +0100 Subject: [PATCH] [AMDGPU][SIMemoryLegalizer] Combine GFX10-11 CacheControl Classes

[llvm-branch-commits] [lld] release/21.x: [LLD][COFF] Align EC code ranges to page boundaries (#168222) (PR #168369)

2025-11-19 Thread via llvm-branch-commits
llvmbot wrote: @cjacek What do you think about merging this PR to the release branch? https://github.com/llvm/llvm-project/pull/168369 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listin

[llvm-branch-commits] [llvm] CodeGen: Make target overrides of PointerLikeRegClass mandatory (PR #159882)

2025-11-19 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/159882 >From fed007c089858b6fc527cbb3301764db54e71388 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Tue, 16 Sep 2025 14:54:15 +0900 Subject: [PATCH] CodeGen: Make target overrides of PointerLikeRegClass mandatory

[llvm-branch-commits] [llvm] CodeGen: Make all targets override pseudos with pointers (PR #159881)

2025-11-19 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/159881 >From ccf4a7d77d845011b6f6cc8fbb59c6971b212052 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Tue, 16 Sep 2025 14:55:52 +0900 Subject: [PATCH] CodeGen: Make all targets override pseudos with pointers This e

[llvm-branch-commits] [llvm] CodeGen: Remove PointerLikeRegClass handling from codegen (PR #159883)

2025-11-19 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/159883 >From 232a96d4307f2d2900505335549093c63514fb63 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Tue, 9 Sep 2025 20:13:52 +0900 Subject: [PATCH] CodeGen: Remove PointerLikeRegClass handling from codegen All us

[llvm-branch-commits] [llvm] CodeGen: Make target overrides of PointerLikeRegClass mandatory (PR #159882)

2025-11-19 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/159882 >From fed007c089858b6fc527cbb3301764db54e71388 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Tue, 16 Sep 2025 14:54:15 +0900 Subject: [PATCH] CodeGen: Make target overrides of PointerLikeRegClass mandatory

[llvm-branch-commits] [llvm] CodeGen: Make all targets override pseudos with pointers (PR #159881)

2025-11-19 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/159881 >From ccf4a7d77d845011b6f6cc8fbb59c6971b212052 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Tue, 16 Sep 2025 14:55:52 +0900 Subject: [PATCH] CodeGen: Make all targets override pseudos with pointers This e

[llvm-branch-commits] [llvm] release/21.x: [CodeGen][ARM64EC] Don't treat guest exit thunks as indirect calls (#165885) (PR #168371)

2025-11-19 Thread Jacek Caban via llvm-branch-commits
cjacek wrote: Waiting for LLVM 22 is fine with me. It seemed safe enough and fixes issue #165504, but at the same time it shouldn’t affect properly written code (the repro in the report doesn’t follow the ARM64EC convention). https://github.com/llvm/llvm-project/pull/168371 ___

[llvm-branch-commits] [llvm] CodeGen: Remove PointerLikeRegClass handling from codegen (PR #159883)

2025-11-19 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/159883 >From 232a96d4307f2d2900505335549093c63514fb63 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Tue, 9 Sep 2025 20:13:52 +0900 Subject: [PATCH] CodeGen: Remove PointerLikeRegClass handling from codegen All us

[llvm-branch-commits] [llvm] AMDGPU/GlobalISel: RegBankLegalize rules for G_FABS and G_FNEG (PR #168411)

2025-11-19 Thread Petar Avramovic via llvm-branch-commits
https://github.com/petar-avramovic updated https://github.com/llvm/llvm-project/pull/168411 >From 73f2bf84bb2bcff3cd20aa207116f214cde943f9 Mon Sep 17 00:00:00 2001 From: Petar Avramovic Date: Mon, 17 Nov 2025 18:47:58 +0100 Subject: [PATCH] AMDGPU/GlobalISel: RegBankLegalize rules for G_FABS an

[llvm-branch-commits] [llvm] [GOFF] Write out relocations in the GOFF writer (PR #167054)

2025-11-19 Thread Kai Nacke via llvm-branch-commits
https://github.com/redstar updated https://github.com/llvm/llvm-project/pull/167054 >From 1f9bfbbd5e893bcab320dc26c71e49779ef7d04d Mon Sep 17 00:00:00 2001 From: Kai Nacke Date: Fri, 7 Nov 2025 11:13:49 -0500 Subject: [PATCH 1/2] [GOFF] Write out relocations in the GOFF writer Add support for

[llvm-branch-commits] [llvm] AMDGPU/GlobalISel: RegBankLegalize rules for G_FABS and G_FNEG (PR #168411)

2025-11-19 Thread Petar Avramovic via llvm-branch-commits
@@ -0,0 +1,340 @@ +; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py +; RUN: llc -global-isel -new-reg-bank-select -mtriple=amdgcn-amd-amdpal -mattr=-real-true16 -mcpu=gfx1100 -o - %s | FileCheck -check-prefixes=GCN,GFX11 %s +; RUN: llc -global-isel -

[llvm-branch-commits] [llvm] DAG: Use poison for some vector result widening (PR #168290)

2025-11-19 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm created https://github.com/llvm/llvm-project/pull/168290 None >From 2f389b76f03f8e266e18eaef26bfc96e75a65ba7 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Fri, 14 Nov 2025 21:47:44 -0800 Subject: [PATCH] DAG: Use poison for some vector result widening --- .../

[llvm-branch-commits] [llvm] release/21.x: [CodeGen][ARM64EC] Don't treat guest exit thunks as indirect calls (#165885) (PR #168371)

2025-11-19 Thread Eli Friedman via llvm-branch-commits
https://github.com/efriedma-quic approved this pull request. LGTM This is a simple bugfix, and it obviously has no impact on non-ARM64EC targets. https://github.com/llvm/llvm-project/pull/168371 ___ llvm-branch-commits mailing list llvm-branch-commits

[llvm-branch-commits] [llvm] release/21.x: [ARM] Use TargetMachine over Subtarget in ARMAsmPrinter (#166329) (PR #168380)

2025-11-19 Thread via llvm-branch-commits
dyung wrote: > The same reason as the original bug reporter @iliastsi - trying to fix GHC in > Debian. >From the original bug report, it seems that this has been broken since at >least LLVM 17. If this is the case, how have you been building GHC all this >time? Were you using LLVM 16? At thi

[llvm-branch-commits] [llvm] [BOLT] Match functions with pseudo probes (PR #100446)

2025-11-19 Thread Maksim Panchenko via llvm-branch-commits
@@ -592,72 +633,276 @@ size_t YAMLProfileReader::matchWithCallGraph(BinaryContext &BC) { return MatchedWithCallGraph; } -size_t YAMLProfileReader::InlineTreeNodeMapTy::matchInlineTrees( -const MCPseudoProbeDecoder &Decoder, -const std::vector &DecodedInlineTree, -

[llvm-branch-commits] [llvm] [BOLT] Match functions with pseudo probes (PR #100446)

2025-11-19 Thread Maksim Panchenko via llvm-branch-commits
@@ -242,6 +253,18 @@ class YAMLProfileReader : public ProfileReaderBase { ProfiledFunctions.emplace(&BF); } + /// Return a top-level binary inline tree node for a given \p BF maksfb wrote: ```suggestion /// Return a top-level binary inline tree node

[llvm-branch-commits] [llvm] [LTT] Mark as unkown weak function tests. (PR #167399)

2025-11-19 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/167399 >From f5a571197ba3ec726353ca4f0550d381a6a8dcba Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Mon, 10 Nov 2025 12:33:12 -0800 Subject: [PATCH] [LTT] Mark as unkown weak function tests. --- llvm/lib/Transfo

[llvm-branch-commits] [llvm] [BOLT] Match functions with pseudo probes (PR #100446)

2025-11-19 Thread Maksim Panchenko via llvm-branch-commits
@@ -592,72 +633,276 @@ size_t YAMLProfileReader::matchWithCallGraph(BinaryContext &BC) { return MatchedWithCallGraph; } -size_t YAMLProfileReader::InlineTreeNodeMapTy::matchInlineTrees( -const MCPseudoProbeDecoder &Decoder, -const std::vector &DecodedInlineTree, -

[llvm-branch-commits] [llvm] [BPF] add allows-misaligned-mem-access target feature (PR #168314)

2025-11-19 Thread via llvm-branch-commits
yonghong-song wrote: I have no objection. But in the above, I see ``` Merging is blocked Cannot update this protected ref. ``` Not sure what is the problem. https://github.com/llvm/llvm-project/pull/168314 ___ llvm-branch-commits mailing list llvm-

[llvm-branch-commits] [llvm] [BOLT] Match functions with pseudo probes (PR #100446)

2025-11-19 Thread Maksim Panchenko via llvm-branch-commits
@@ -682,37 +561,22 @@ matchBlocks(BinaryContext &BC, const yaml::bolt::BinaryFunctionProfile &YamlBF, << "\n"); continue; } -addMatchedBlock({MatchedBlock, Method}, YamlBF, YamlBB); - } - - for (const auto &[YamlBBIdx, FlowBlockProfile]

[llvm-branch-commits] [llvm] [LTT] Mark as unkown weak function tests. (PR #167399)

2025-11-19 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin updated https://github.com/llvm/llvm-project/pull/167399 >From f5a571197ba3ec726353ca4f0550d381a6a8dcba Mon Sep 17 00:00:00 2001 From: Mircea Trofin Date: Mon, 10 Nov 2025 12:33:12 -0800 Subject: [PATCH] [LTT] Mark as unkown weak function tests. --- llvm/lib/Transfo

[llvm-branch-commits] [ASan] Make most tests run under internal shell on Darwin (PR #168545)

2025-11-19 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/168545 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [ASan] Make most tests run under internal shell on Darwin (PR #168545)

2025-11-19 Thread Aiden Grossman via llvm-branch-commits
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/168545 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

  1   2   >