[llvm-branch-commits] [llvm] [NPM] Schedule PhysicalRegisterUsageAnalysis before RegUsageInfoCollectorPass (PR #168832)

2025-11-19 Thread Vikram Hegde via llvm-branch-commits
https://github.com/vikramRH created https://github.com/llvm/llvm-project/pull/168832 None >From 49e4825b231eae88f7aea3184e1c8ca904abb674 Mon Sep 17 00:00:00 2001 From: vikhegde Date: Tue, 18 Nov 2025 11:13:37 +0530 Subject: [PATCH] [NPM] Schedule PhysicalRegisterUsageAnalysis before RegUsageI

[llvm-branch-commits] [llvm] [NPM] Schedule PhysicalRegisterUsageAnalysis before RegUsageInfoCollectorPass (PR #168832)

2025-11-19 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Vikram Hegde (vikramRH) Changes RegUsageInfoCollectorPass requires PhysicalRegisterUsageAnalysis to be valid. this is required since its a module analysis. --- Full diff: https://github.com/llvm/llvm-project/pull/168832.diff 2

[llvm-branch-commits] [llvm] [NPM] Schedule PhysicalRegisterUsageAnalysis before RegUsageInfoCollectorPass (PR #168832)

2025-11-19 Thread Vikram Hegde via llvm-branch-commits
https://github.com/vikramRH ready_for_review https://github.com/llvm/llvm-project/pull/168832 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [NPM] Schedule PhysicalRegisterUsageAnalysis before RegUsageInfoCollectorPass (PR #168832)

2025-11-19 Thread Vikram Hegde via llvm-branch-commits
https://github.com/vikramRH edited https://github.com/llvm/llvm-project/pull/168832 ___ 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] [ASan] Make most tests run under internal shell on Darwin (PR #168545)

2025-11-19 Thread via llvm-branch-commits
github-actions[bot] wrote: :warning: C/C++ code formatter, clang-format found issues in your code. :warning: You can test this locally with the following command: ``bash git-clang-format --diff origin/main HEAD --extensions cpp -- compiler-rt/test/asan/TestCases/Darwin/atos-symb

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

2025-11-19 Thread Kai Nacke via llvm-branch-commits
@@ -51,6 +51,7 @@ enum { // https://www.ibm.com/docs/en/hla-and-tf/1.6?topic=value-address-constants S_RCon, // Address of ADA of symbol. S_VCon, // Address of external function symbol. + S_QCon, // Class-based offset. redstar wrote: Yes, there is no us

[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-lld-coff 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) - (modifi

[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álint?= , Gergely =?utf-8?q?Bálint?= ,Gergely Balint Message-ID: In-Reply-To: https://github.com/paschalis-mpeis commented: Hey Gergely, Thanks for the updates! Just a reminder to prepend tests with pauth-, so they appear groupped, and `PAuthPacRetDesign.md` too, so the `

[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: @llvm/pr-subscribers-backend-arm Author: None (llvmbot) Changes Backport 4d1f2492d26f8c2fad0eee2a141c7e0bbbc4c868 Requested by: @davemgreen --- Full diff: https://github.com/llvm/llvm-project/pull/168380.diff 4 Files Affected: - (modified) llvm/lib/Target/ARM/ARMAsmPrin

[llvm-branch-commits] [openmp] 1d80cda - Revert "[OpenMP] Implement omp_get_uid_from_device() / omp_get_device_from_ui…"

2025-11-19 Thread via llvm-branch-commits
Author: Robert Imschweiler Date: 2025-11-18T16:03:12+01:00 New Revision: 1d80cda87609b6dcb8a84d60df41bc26b535fdf7 URL: https://github.com/llvm/llvm-project/commit/1d80cda87609b6dcb8a84d60df41bc26b535fdf7 DIFF: https://github.com/llvm/llvm-project/commit/1d80cda87609b6dcb8a84d60df41bc26b535fdf7.

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

2025-11-19 Thread Benjamin Maxwell 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] [ASan] Make most tests run under internal shell on Darwin (PR #168545)

2025-11-19 Thread Dan Blackwell via llvm-branch-commits
@@ -5,7 +5,7 @@ // - By default the lit config sets this but we don't want this // test to implicitly depend on this. // - It avoids requiring `--crash` to be passed to `not`. -// RUN: APPLE_ASAN_INIT_FOR_DLOPEN=0 %env_asan_opts=abort_on_error=0 not \ +// RUN: env APPLE_ASAN_

[llvm-branch-commits] [llvm] [BOLT][PAC] Warn about synchronous unwind tables (PR #165227)

2025-11-19 Thread Gergely Bálint via llvm-branch-commits
https://github.com/bgergely0 updated https://github.com/llvm/llvm-project/pull/165227 From 61e03b5abf74bd5a61f2aa4d21219c67cfbfce24 Mon Sep 17 00:00:00 2001 From: Gergely Balint Date: Mon, 27 Oct 2025 09:29:54 + Subject: [PATCH 1/4] [BOLT][PAC] Warn about synchronous unwind tables BOLT cur

[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] [llvm] [GOFF] Write out relocations in the GOFF writer (PR #167054)

2025-11-19 Thread Kai Nacke via llvm-branch-commits
@@ -16,12 +17,35 @@ namespace { class SystemZGOFFObjectWriter : public MCGOFFObjectTargetWriter { public: SystemZGOFFObjectWriter(); + + unsigned getRelocType(const MCValue &Target, const MCFixup &Fixup, +bool IsPCRel) const override; }; } // end an

[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] [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] [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
@@ -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] [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
@@ -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
@@ -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
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] 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] [LTT] Mark as unkown weak function tests. (PR #167399)

2025-11-19 Thread Mircea Trofin via llvm-branch-commits
https://github.com/mtrofin ready_for_review https://github.com/llvm/llvm-project/pull/167399 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [compiler-rt] [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] [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
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/168371 Backport 615299934489953deaf202cc445ac9f8ad362afc Requested by: @cjacek >From 3da9c16880cdda218f52cbff964f7e1974d012ae Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Tue, 4 Nov 2025 00:04:36 +0100 Subject: [

[llvm-branch-commits] [llvm] [AtomicExpand] Add bitcasts when expanding load atomic vector (PR #148900)

2025-11-19 Thread via llvm-branch-commits
jofrn wrote: Moved the .td records required for this PR back to prior PRs https://github.com/llvm/llvm-project/pull/148899 (Cast atomic vec with float -- containing the Pats for X86) and https://github.com/llvm/llvm-project/pull/165818 (Split -- containing the definitions of the PatFrag atomi

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

2025-11-19 Thread Maksim Panchenko via llvm-branch-commits
@@ -1552,25 +1552,14 @@ Error PrintProgramStats::runOnFunctions(BinaryContext &BC) { 100.0 * BC.Stats.ExactMatchedSampleCount / BC.Stats.StaleSampleCount, BC.Stats.ExactMatchedSampleCount, BC.Stats.StaleSampleCount); BC.outs() << format( -"BOLT-INFO

[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-llvm-selectiondag 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/Legali

[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] [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
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] 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] AMDGPU/GlobalISel: RegBankLegalize rules for G_FABS and G_FNEG (PR #168411)

2025-11-19 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Petar Avramovic (petar-avramovic) Changes --- Patch is 21.42 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/168411.diff 4 Files Affected: - (modified) llvm/lib/Target/AMDGPU/AMDGPU

[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 updated https://github.com/llvm/llvm-project/pull/168290 >From 6b6155931582b2f8924a76b268f06d9e2696d489 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 --- .../Select

[llvm-branch-commits] [llvm] [AArch64][SME] Support saving/restoring ZT0 in the MachineSMEABIPass (PR #166362)

2025-11-19 Thread Benjamin Maxwell via llvm-branch-commits
https://github.com/MacDue updated https://github.com/llvm/llvm-project/pull/166362 >From 61a5390345e13e8195ad9b2214133914db560ef2 Mon Sep 17 00:00:00 2001 From: Benjamin Maxwell Date: Mon, 3 Nov 2025 15:41:49 + Subject: [PATCH] [AArch64][SME] Support saving/restoring ZT0 in the MachineSMEA

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

2025-11-19 Thread Maksim Panchenko via llvm-branch-commits
@@ -549,15 +473,16 @@ createFlowFunction(const BinaryFunction::BasicBlockOrderType &BlockOrder) { /// of the basic blocks in the binary, the count is "matched" to the block. /// Similarly, if both the source and the target of a count in the profile are /// matched to a jump in

[llvm-branch-commits] [llvm] [BOLT][PAC] Warn about synchronous unwind tables (PR #165227)

2025-11-19 Thread Gergely Bálint via llvm-branch-commits
https://github.com/bgergely0 updated https://github.com/llvm/llvm-project/pull/165227 From 61e03b5abf74bd5a61f2aa4d21219c67cfbfce24 Mon Sep 17 00:00:00 2001 From: Gergely Balint Date: Mon, 27 Oct 2025 09:29:54 + Subject: [PATCH 1/4] [BOLT][PAC] Warn about synchronous unwind tables BOLT cur

[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 milestoned https://github.com/llvm/llvm-project/pull/168380 ___ 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] [AMDGPU][SIMemoryLegalizer] Combine GFX10-11 CacheControl Classes (PR #168058)

2025-11-19 Thread Pierre van Houtryve via llvm-branch-commits
@@ -1438,8 +1443,7 @@ bool SIGfx6CacheControl::insertRelease(MachineBasicBlock::iterator &MI, } bool SIGfx10CacheControl::enableLoadCacheBypass( -const MachineBasicBlock::iterator &MI, -SIAtomicScope Scope, +const MachineBasicBlock::iterator &MI, SIAtomicScope Sco

[llvm-branch-commits] [llvm] [AMDGPU] Add wave reduce intrinsics for float types - 2 (PR #161815)

2025-11-19 Thread Juan Manuel Martinez Caamaño via llvm-branch-commits
https://github.com/jmmartinez approved this pull request. https://github.com/llvm/llvm-project/pull/161815 ___ 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 Dan Blackwell via llvm-branch-commits
@@ -5,29 +5,34 @@ // UNSUPPORTED: ios // RUN: rm -rf %t && mkdir -p %t -// RUN: cp `%clang_asan -print-file-name=lib`/darwin/libclang_rt.asan_osx_dynamic.dylib \ +// RUN: %clang_asan -print-file-name=lib | tr -d '\n' > %t.lib_name +// RUN: cp %{readfile:%t.lib_name}/darwin/li

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

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/168545 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi

[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 ready_for_review 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-commits

[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 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] 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] [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] [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] [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] [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] 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] [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] 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] 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] [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] [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] [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] [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] [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] 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] [clang] 6922f8a - Revert "[clang][SourceManager] Use `getFileLoc` when computing `getPresumedLo…"

2025-11-19 Thread via llvm-branch-commits
Author: Aaron Ballman Date: 2025-11-17T08:44:37-05:00 New Revision: 6922f8a3b0f75be79ae26b8b8831512d8de43b58 URL: https://github.com/llvm/llvm-project/commit/6922f8a3b0f75be79ae26b8b8831512d8de43b58 DIFF: https://github.com/llvm/llvm-project/commit/6922f8a3b0f75be79ae26b8b8831512d8de43b58.diff

[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] [llvm] [AMDGPU] Add wave reduce intrinsics for float types - 2 (PR #161815)

2025-11-19 Thread via llvm-branch-commits
easyonaadit wrote: Ping. https://github.com/llvm/llvm-project/pull/161815 ___ 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 created https://github.com/llvm/llvm-project/pull/168545 This patch fixes most of the ASan tests that were failing on Darwin when running under the internal shell. There are still a couple left that are more interesting cases that I'll do in a follow up patch. T

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

2025-11-19 Thread Matt Arsenault via llvm-branch-commits
arsenm 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/168290?utm_source=stack-comment-downstack-mergeability-warning";

[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 created https://github.com/llvm/llvm-project/pull/168352 Fixes https://github.com/llvm/llvm-project/pull/167700 to support builds where TableGen's output file is specified as full path rather than just filename. >From af92eaef4e2cc8502d02d104ca44543e169d768e Mon Sep 1

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

2025-11-19 Thread Dan Blackwell via llvm-branch-commits
https://github.com/DanBlackwell requested changes to this pull request. 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

[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: @yonghong-song I'd like to backport this change so that I can enable misalignment in the rust nightly compiler, thanks! https://github.com/llvm/llvm-project/pull/168314 ___ llvm-branch-commits mailing list llvm-branch-commits@l

[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 created https://github.com/llvm/llvm-project/pull/168411 None >From 529b6f23ee1acb393880a336c0fdc89c1792bf1b 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_F

[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
llvmbot wrote: @efriedma-quic What do you think about merging this PR to the release branch? https://github.com/llvm/llvm-project/pull/168371 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman

[llvm-branch-commits] [llvm] b835c10 - Revert "DAG: Allow select ptr combine for non-0 address spaces (#167909)"

2025-11-19 Thread via llvm-branch-commits
Author: ronlieb Date: 2025-11-16T16:47:51-05:00 New Revision: b835c10c902a27d1423d8944534d828afbcb4f6c URL: https://github.com/llvm/llvm-project/commit/b835c10c902a27d1423d8944534d828afbcb4f6c DIFF: https://github.com/llvm/llvm-project/commit/b835c10c902a27d1423d8944534d828afbcb4f6c.diff LOG:

[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] 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 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] [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 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] [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] [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 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] [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] [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] [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] [TableGen][NFCI] Change TableGenMain() to take function_ref. (PR #167888)

2025-11-19 Thread Ivan Kosarev via llvm-branch-commits
https://github.com/kosarev updated https://github.com/llvm/llvm-project/pull/167888 >From 12bf9cd3f96ccdcac6ced92d51a06d425375da42 Mon Sep 17 00:00:00 2001 From: Ivan Kosarev Date: Thu, 13 Nov 2025 12:10:51 + Subject: [PATCH] [TableGen][NFCI] Change TableGenMain() to take function_ref. It

[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 converted_to_draft https://github.com/llvm/llvm-project/pull/167399 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] RuntimeLibcalls: Add memset_pattern* calls to darwin systems (PR #167083)

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

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

2025-11-19 Thread Gergely Bálint via llvm-branch-commits
bgergely0 wrote: One more thing I'd like to sneak in here: adding the --print- flags for these passes. We discussed this before, but I didn't add them to the original patch (#120064). https://github.com/llvm/llvm-project/pull/164622 ___ llvm-branch-

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

2025-11-19 Thread Kai Nacke via llvm-branch-commits
@@ -545,8 +743,68 @@ GOFFObjectWriter::GOFFObjectWriter( GOFFObjectWriter::~GOFFObjectWriter() = default; +void GOFFObjectWriter::recordRelocation(const MCFragment &F, +const MCFixup &Fixup, MCValue Target, +

  1   2   >