[llvm-branch-commits] [clang] [lld] [llvm] release/20.x: [hexagon] Bump the default version to v68 (#132304) (PR #132499)

2025-03-21 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: None (llvmbot) Changes Backport 759ef5811e22 c0b2c10e9f3a Requested by: @androm3da --- Patch is 32.08 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/132499.diff 23 Files Affected: - (modifi

[llvm-branch-commits] [llvm] release/20.x: [llvm-dlltool] Add a missing dependency (PR #132483)

2025-03-21 Thread via llvm-branch-commits
Martin =?utf-8?q?Storsj=C3=B6?= Message-ID: In-Reply-To: llvmbot wrote: @cjacek What do you think about merging this PR to the release branch? https://github.com/llvm/llvm-project/pull/132483 ___ llvm-branch-commits mailing list llvm-branch-commits@

[llvm-branch-commits] [llvm] release/20.x: [llvm-dlltool] Add a missing dependency (PR #132483)

2025-03-21 Thread via llvm-branch-commits
Martin =?utf-8?q?Storsjö?= Message-ID: In-Reply-To: https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/132483 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/

[llvm-branch-commits] [compiler-rt] release/20.x: [compiler-rt][Darwin][x86] Fix instrprof-darwin-exports test (#131425) (PR #132506)

2025-03-21 Thread via llvm-branch-commits
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/132506 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [compiler-rt] release/20.x: [compiler-rt][Darwin][x86] Fix instrprof-darwin-exports test (#131425) (PR #132506)

2025-03-21 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/132506 Backport 94426df66a8d7c2321f9e197e5ef9636b0d5ce70 Requested by: @j-hui >From 01d366d45dfefdb1c49f6344d722918c5be99943 Mon Sep 17 00:00:00 2001 From: David Tellenbach Date: Mon, 17 Mar 2025 17:23:58 -0700 Subje

[llvm-branch-commits] [compiler-rt] [compiler-rt][Darwin][x86] Fix instrprof-darwin-exports test (#131425) (PR #132500)

2025-03-21 Thread John Hui via llvm-branch-commits
j-hui wrote: Superseded by backport request issue https://github.com/llvm/llvm-project/issues/132505 https://github.com/llvm/llvm-project/pull/132500 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bi

[llvm-branch-commits] [compiler-rt] [compiler-rt][Darwin][x86] Fix instrprof-darwin-exports test (#131425) (PR #132500)

2025-03-21 Thread John Hui via llvm-branch-commits
https://github.com/j-hui closed https://github.com/llvm/llvm-project/pull/132500 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [llvm] release/20.x: [Hexagon] Set the default compilation target to V68 (#125239) (PR #128597)

2025-03-21 Thread via llvm-branch-commits
https://github.com/llvmbot closed https://github.com/llvm/llvm-project/pull/128597 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [llvm] release/20.x: [Hexagon] Set the default compilation target to V68 (#125239) (PR #128597)

2025-03-21 Thread Brian Cain via llvm-branch-commits
androm3da wrote: /cherry-pick 759ef5811e22 c0b2c10e9f3a https://github.com/llvm/llvm-project/pull/128597 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [compiler-rt] [compiler-rt][Darwin][x86] Fix instrprof-darwin-exports test (#131425) (PR #132500)

2025-03-21 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-pgo Author: John Hui (j-hui) Changes ld64 issues a warning about section alignment which was counted as an unexpected exported symbol and the test failed. Fixed by disabling all linker warnings using -Wl,-w. cherry-picked from commit 94426df66a8d7c232

[llvm-branch-commits] [clang] [lld] [llvm] release/20.x: [hexagon] Bump the default version to v68 (#132304) (PR #132499)

2025-03-21 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-lld-elf Author: None (llvmbot) Changes Backport 759ef5811e22 c0b2c10e9f3a Requested by: @androm3da --- Patch is 32.08 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/132499.diff 23 Files Affected: - (modi

[llvm-branch-commits] [clang] [llvm] release/20.x: [Hexagon] Set the default compilation target to V68 (#125239) (PR #128597)

2025-03-21 Thread via llvm-branch-commits
llvmbot wrote: /pull-request llvm/llvm-project#132499 https://github.com/llvm/llvm-project/pull/128597 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [lld] [llvm] release/20.x: [hexagon] Bump the default version to v68 (#132304) (PR #132499)

2025-03-21 Thread via llvm-branch-commits
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/132499 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [llvm] release/20.x: [Hexagon] Set the default compilation target to V68 (#125239) (PR #128597)

2025-03-21 Thread via llvm-branch-commits
llvmbot wrote: Failed to cherry-pick: 1abe7e8debc44d9a7e460c2be0b85b7cf137585b https://github.com/llvm/llvm-project/actions/runs/14003839625 Please manually backport the fix and push it to your github fork. Once this is done, please create a [pull request](https://github.com/llvm/llvm-proje

[llvm-branch-commits] [clang] [llvm] release/20.x: [Hexagon] Set the default compilation target to V68 (#125239) (PR #128597)

2025-03-21 Thread Brian Cain via llvm-branch-commits
androm3da wrote: /cherry-pick 759ef5811e22 1abe7e8debc44d9a7e460c2be0b85b7cf137585b c0b2c10e9f3a https://github.com/llvm/llvm-project/pull/128597 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/ma

[llvm-branch-commits] [llvm] [CodeGen][StaticDataSplitter]Support constant pool partitioning (PR #129781)

2025-03-21 Thread Mingming Liu via llvm-branch-commits
@@ -148,17 +184,9 @@ bool StaticDataSplitter::partitionStaticDataWithProfiles(MachineFunction &MF) { if (MJTI->updateJumpTableEntryHotness(JTI, Hotness)) ++NumChangedJumpTables; -} else { - // Find global variables with local linkage. -

[llvm-branch-commits] [llvm] [CodeGen][StaticDataSplitter]Support constant pool partitioning (PR #129781)

2025-03-21 Thread Mingming Liu via llvm-branch-commits
@@ -386,6 +386,16 @@ MCSection *TargetLoweringObjectFile::getSectionForConstant( return DataSection; } +MCSection *TargetLoweringObjectFile::getSectionForConstant( +const DataLayout &DL, SectionKind Kind, const Constant *C, Align &Alignment, +StringRef SectionPrefix

[llvm-branch-commits] [llvm] release/20.x: [llvm-dlltool] Add a missing dependency (PR #132483)

2025-03-21 Thread Jacek Caban via llvm-branch-commits
Martin =?utf-8?q?Storsj=C3=B6?= Message-ID: In-Reply-To: https://github.com/cjacek approved this pull request. https://github.com/llvm/llvm-project/pull/132483 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llv

[llvm-branch-commits] [llvm] [CodeGen][StaticDataSplitter]Support constant pool partitioning (PR #129781)

2025-03-21 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 9302b2b708cdce89add071fa584c12ddb4f9d71d 23fd549393c79a0aa1fd038bfcfb320e312b5fb8 --e

[llvm-branch-commits] [llvm] [CodeGen][StaticDataSplitter]Support constant pool partitioning (PR #129781)

2025-03-21 Thread Mingming Liu via llvm-branch-commits
@@ -206,14 +234,10 @@ void StaticDataSplitter::annotateStaticDataWithoutProfiles( for (const auto &MBB : MF) { for (const MachineInstr &I : MBB) { for (const MachineOperand &Op : I.operands()) { -if (!Op.isGlobal()) - continue; -const Globa

[llvm-branch-commits] [llvm] [CodeGen][StaticDataSplitter]Support constant pool partitioning (PR #129781)

2025-03-21 Thread Mingming Liu via llvm-branch-commits
@@ -112,21 +117,52 @@ bool StaticDataSplitter::runOnMachineFunction(MachineFunction &MF) { return Changed; } +const Constant * +StaticDataSplitter::getConstant(const MachineOperand &Op, +const TargetMachine &TM, +

[llvm-branch-commits] [llvm] [CodeGen][StaticDataSplitter]Support constant pool partitioning (PR #129781)

2025-03-21 Thread Mingming Liu via llvm-branch-commits
@@ -2769,6 +2769,23 @@ namespace { } // end anonymous namespace +StringRef AsmPrinter::getConstantSectionSuffix(const Constant *C) const { mingmingl-llvm wrote: done. https://github.com/llvm/llvm-project/pull/129781 _

[llvm-branch-commits] [llvm] release/20.x: [llvm-dlltool] Add a missing dependency (PR #132483)

2025-03-21 Thread via llvm-branch-commits
Martin =?utf-8?q?Storsjö?= Message-ID: In-Reply-To: https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/132483 Backport dcc08a17c781a5066ab17b9791e1c455f7cedbf7 1ca93b15482d3bfa1560b35960ab46fea65b3074 Requested by: @mstorsjo >From 0ce9b7c9b91739df4da888e5a59db93f8

[llvm-branch-commits] [clang] [clang] resugar decltype of DeclRefExpr (PR #132447)

2025-03-21 Thread Matheus Izvekov via llvm-branch-commits
https://github.com/mizvekov updated https://github.com/llvm/llvm-project/pull/132447 >From 29cc63d882332f4c476388a8817def7de564ad4b Mon Sep 17 00:00:00 2001 From: Matheus Izvekov Date: Fri, 14 Mar 2025 19:41:38 -0300 Subject: [PATCH] [clang] resugar decltype of DeclRefExpr This keeps around th

[llvm-branch-commits] [clang] [clang-tools-extra] [lldb] [clang] Template Specialization Resugaring - TypeDecl (PR #132441)

2025-03-21 Thread Matheus Izvekov via llvm-branch-commits
https://github.com/mizvekov updated https://github.com/llvm/llvm-project/pull/132441 >From 4571fada1ea055a845bf5c4eb3d1a20904f768c6 Mon Sep 17 00:00:00 2001 From: Matheus Izvekov Date: Mon, 30 May 2022 01:46:31 +0200 Subject: [PATCH] [clang] Template Specialization Resugaring - TypeDecl This i

[llvm-branch-commits] [lld] release/20.x: [LLD] [COFF] Add a few more mingw libs to skip autoexports for (#132289) (PR #132478)

2025-03-21 Thread via llvm-branch-commits
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/132478 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [lld] release/20.x: [LLD] [COFF] Add a few more mingw libs to skip autoexports for (#132289) (PR #132478)

2025-03-21 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/132478 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listin

[llvm-branch-commits] [lld] release/20.x: [LLD] [COFF] Add a few more mingw libs to skip autoexports for (#132289) (PR #132478)

2025-03-21 Thread Jacek Caban via llvm-branch-commits
https://github.com/cjacek approved this pull request. https://github.com/llvm/llvm-project/pull/132478 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [lld] release/20.x: [LLD] [COFF] Add a few more mingw libs to skip autoexports for (#132289) (PR #132478)

2025-03-21 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-lld-coff Author: None (llvmbot) Changes Backport af93db9344919085551fac38d6d6a4f774a7220a Requested by: @mstorsjo --- Full diff: https://github.com/llvm/llvm-project/pull/132478.diff 1 Files Affected: - (modified) lld/COFF/MinGW.cpp (+5)

[llvm-branch-commits] [lld] release/20.x: [LLD] [COFF] Add a few more mingw libs to skip autoexports for (#132289) (PR #132478)

2025-03-21 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/132478 Backport af93db9344919085551fac38d6d6a4f774a7220a Requested by: @mstorsjo >From 3cf1b126bdefe2b99cf98c4c8a02fe51254d32a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Fri, 21 Mar 2025

[llvm-branch-commits] [llvm] [Metadata] Preserve MD_prof when merging instructions when one is missing. (PR #132433)

2025-03-21 Thread Snehasish Kumar via llvm-branch-commits
https://github.com/snehasish created https://github.com/llvm/llvm-project/pull/132433 Preserve branch weight metadata when merging instructions if one of the instructions is missing metadata. This is similar in behaviour to what we do today for other types of metadata such as mmra, memprof and c

[llvm-branch-commits] [llvm] Bump version to 20.1.2 (PR #132293)

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

[llvm-branch-commits] [llvm] Bump version to 20.1.2 (PR #132293)

2025-03-21 Thread Tom Stellard via llvm-branch-commits
https://github.com/tstellar closed https://github.com/llvm/llvm-project/pull/132293 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [clang-tools-extra] [lldb] [clang] Template Specialization Resugaring - TypeDecl (PR #132441)

2025-03-21 Thread Matheus Izvekov via llvm-branch-commits
https://github.com/mizvekov created https://github.com/llvm/llvm-project/pull/132441 This is the introductory patch for a larger work which intends to solve the long standing C++ issue with losing type sugar when acessing template specializations. The well known example here is specializing a

[llvm-branch-commits] [llvm] [BOLT] Gadget scanner: detect non-protected indirect calls (PR #131899)

2025-03-21 Thread Anatoly Trosinenko via llvm-branch-commits
https://github.com/atrosinenko updated https://github.com/llvm/llvm-project/pull/131899 >From bbb379d74e59fc4409de1a94b4e0698de684b6a1 Mon Sep 17 00:00:00 2001 From: Anatoly Trosinenko Date: Tue, 18 Mar 2025 21:32:11 +0300 Subject: [PATCH] [BOLT] Gadget scanner: detect non-protected indirect ca

[llvm-branch-commits] [clang] [clang][HeuristicResolver] Default argument heuristic for template parameters (PR #131074)

2025-03-21 Thread Nathan Ridge via llvm-branch-commits
HighCommander4 wrote: Resubmitted at https://github.com/llvm/llvm-project/pull/132465 https://github.com/llvm/llvm-project/pull/131074 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listin

[llvm-branch-commits] [llvm] [Metadata] Preserve MD_prof when merging instructions when one is missing. (PR #132433)

2025-03-21 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-transforms Author: Snehasish Kumar (snehasish) Changes Preserve branch weight metadata when merging instructions if one of the instructions is missing metadata. This is similar in behaviour to what we do today for other types of metadata such as mmr

[llvm-branch-commits] [clang] [clang] resugar decltype of MemberExpr (PR #132448)

2025-03-21 Thread Matheus Izvekov via llvm-branch-commits
https://github.com/mizvekov updated https://github.com/llvm/llvm-project/pull/132448 >From e97d04ecc7c72488f83c5cd63f8ea7f44c2bcf68 Mon Sep 17 00:00:00 2001 From: Matheus Izvekov Date: Sun, 16 Mar 2025 13:44:04 -0300 Subject: [PATCH] [clang] resugar decltype of MemberExpr This keeps around the

[llvm-branch-commits] [clang] [clang-tools-extra] WIP: [clang] Template Specialization Resugaring - Expressions (PR #132446)

2025-03-21 Thread Matheus Izvekov via llvm-branch-commits
https://github.com/mizvekov updated https://github.com/llvm/llvm-project/pull/132446 >From 002480bdc8dc64f22d6abaefcfc46914cc5ba093 Mon Sep 17 00:00:00 2001 From: Matheus Izvekov Date: Mon, 30 May 2022 01:46:31 +0200 Subject: [PATCH] WIP: [clang] Template Specialization Resugaring - Expressions

[llvm-branch-commits] [clang] [clang-tools-extra] [lldb] [clang] Template Specialization Resugaring - TypeDecl (PR #132441)

2025-03-21 Thread Erich Keane via llvm-branch-commits
https://github.com/erichkeane approved this pull request. I don't really have any comments, quite a few improvements here that are valuable. https://github.com/llvm/llvm-project/pull/132441 ___ llvm-branch-commits mailing list llvm-branch-commits@list

[llvm-branch-commits] [llvm] [AMDGPU][Attributor] Rework update of `AAAMDWavesPerEU` (PR #123995)

2025-03-21 Thread via llvm-branch-commits
github-actions[bot] wrote: :warning: undef deprecator found issues in your code. :warning: You can test this locally with the following command: ``bash git diff -U0 --pickaxe-regex -S '([^a-zA-Z0-9#_-]undef[^a-zA-Z0-9_-]|UndefValue::get)' 31185938e33e4033c0e78ebf898041dd2e1ec90a

[llvm-branch-commits] [llvm] [Metadata] Preserve MD_prof when merging instructions when one is missing. (PR #132433)

2025-03-21 Thread Teresa Johnson via llvm-branch-commits
@@ -3436,6 +3433,16 @@ static void combineMetadata(Instruction *K, const Instruction *J, K->setMetadata(LLVMContext::MD_callsite, MDNode::getMergedCallsiteMetadata(KCallSite, JCallSite)); } + + // Merge prof metadata. + // Handle separately to suppor

[llvm-branch-commits] [llvm] [Metadata] Preserve MD_prof when merging instructions when one is missing. (PR #132433)

2025-03-21 Thread Teresa Johnson via llvm-branch-commits
@@ -0,0 +1,62 @@ +; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --check-globals --version 2 +; RUN: opt < %s -passes='simplifycfg' -simplifycfg-require-and-preserve-domtree=1 -S | FileCheck %s --check-prefix=HOIST + +; Test case based on C+

[llvm-branch-commits] [llvm] [SDAG] Introduce inbounds flag for pointer arithmetic (PR #131862)

2025-03-21 Thread Eli Friedman via llvm-branch-commits
efriedma-quic wrote: If an pointer is constructed using inttoptr, it can be based on multiple objects. (In IR, we can see the inttoptr, but in SelectionDAG, it's treated as a noop and eliminated.) The "inbounds" rule should probably say something like this: "The base pointer must be based on

[llvm-branch-commits] [clang] [clang] resugar decltype of MemberExpr (PR #132448)

2025-03-21 Thread Matheus Izvekov via llvm-branch-commits
https://github.com/mizvekov created https://github.com/llvm/llvm-project/pull/132448 This keeps around the resugared DeclType for MemberExpr, which is otherwise partially lost as the expression type removes top level references. This helps 'decltype' resugaring work without any loss of informa

[llvm-branch-commits] [clang] [clang] resugar decltype of DeclRefExpr (PR #132447)

2025-03-21 Thread Matheus Izvekov via llvm-branch-commits
https://github.com/mizvekov created https://github.com/llvm/llvm-project/pull/132447 This keeps around the resugared DeclType for DeclRefExpr, which is otherwise partially lost as the expression type removes top level references. This helps 'decltype' resugaring work without any loss of inform

[llvm-branch-commits] [clang] [clang] Template Specialization Resugaring - Template Type Alias (PR #132442)

2025-03-21 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Matheus Izvekov (mizvekov) Changes This implements an additional user of the resugaring transform: the pattern of template type aliases. For more details and discussion see: https://discourse.llvm.org/t/rfc-improving-diagnostics-with-temp

[llvm-branch-commits] [clang] [clang-tools-extra] [lldb] [clang] Template Specialization Resugaring - TypeDecl (PR #132441)

2025-03-21 Thread via llvm-branch-commits
github-actions[bot] wrote: :warning: Python code formatter, darker found issues in your code. :warning: You can test this locally with the following command: ``bash darker --check --diff -r 6f705031ce3646a5699a8cfdeeeb32569409be49...e621da3ff081f9efee76ed83b1a21627e0904ed0 lldb

[llvm-branch-commits] [clang] [clang-tools-extra] [lldb] [clang] Template Specialization Resugaring - TypeDecl (PR #132441)

2025-03-21 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Matheus Izvekov (mizvekov) Changes This is the introductory patch for a larger work which intends to solve the long standing C++ issue with losing type sugar when acessing template specializations. The well known example here is specializ

[llvm-branch-commits] [llvm] [Metadata] Preserve MD_prof when merging instructions when one is missing. (PR #132433)

2025-03-21 Thread Snehasish Kumar via llvm-branch-commits
https://github.com/snehasish updated https://github.com/llvm/llvm-project/pull/132433 >From 5b2f87db7ec72d12e4d8837203c3c7b953649907 Mon Sep 17 00:00:00 2001 From: Snehasish Kumar Date: Fri, 21 Mar 2025 17:00:38 + Subject: [PATCH] [Metadata] Preserve MD_prof when merging instructions when

[llvm-branch-commits] [llvm] [Metadata] Preserve MD_prof when merging instructions when one is missing. (PR #132433)

2025-03-21 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 24e557330e418cf73f92cc58e58e35e90623a53d 8677f6470103b6af093f57f79c18c4f81912c5fa --e

[llvm-branch-commits] [llvm] [Metadata] Preserve MD_prof when merging instructions when one is missing. (PR #132433)

2025-03-21 Thread Snehasish Kumar via llvm-branch-commits
snehasish 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.dev/github/pr/llvm/llvm-project/132433?utm_source=stack-comment-downstack-mergeability-warning

[llvm-branch-commits] [llvm] 56d7a0a - Revert "[TailDuplicator] Do not restrict the computed gotos (#114990)"

2025-03-21 Thread via llvm-branch-commits
Author: Alexander Kornienko Date: 2025-03-21T18:25:21+01:00 New Revision: 56d7a0a18c7dcd09ff42c05d847ac5af49c848b5 URL: https://github.com/llvm/llvm-project/commit/56d7a0a18c7dcd09ff42c05d847ac5af49c848b5 DIFF: https://github.com/llvm/llvm-project/commit/56d7a0a18c7dcd09ff42c05d847ac5af49c848b5

[llvm-branch-commits] [clang] [clang][HeuristicResolver] Default argument heuristic for template parameters (PR #131074)

2025-03-21 Thread Nathan Ridge via llvm-branch-commits
HighCommander4 wrote: > @HighCommander4 did you merge it into a wrong branch? Oops. I forgot that the patch was stacked on top of another patch for https://github.com/llvm/llvm-project/issues/130468. I will resubmit and reland. https://github.com/llvm/llvm-project/pull/131074

[llvm-branch-commits] [clang] [clang][HeuristicResolver] Default argument heuristic for template parameters (PR #131074)

2025-03-21 Thread Younan Zhang via llvm-branch-commits
zyn0217 wrote: @HighCommander4 did you merge it into a wrong branch? https://github.com/llvm/llvm-project/pull/131074 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-co

[llvm-branch-commits] [clang] [clang][HeuristicResolver] Default argument heuristic for template parameters (PR #131074)

2025-03-21 Thread Nathan Ridge via llvm-branch-commits
https://github.com/HighCommander4 closed https://github.com/llvm/llvm-project/pull/131074 ___ 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/GlobalISel: add RegBankLegalize rules for AND OR and XOR (PR #132382)

2025-03-21 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Petar Avramovic (petar-avramovic) Changes Uniform S1 is lowered to S32. Divergent S1 is selected as VCC(S1) instruction select will select SALU instruction based on wavesize (S32 or S64). S16 are selected as is. There are register

[llvm-branch-commits] [clang] release/20.x: [clang][docs] Move -Wnontrivial-memcall to added flags. (PR #132367)

2025-03-21 Thread via llvm-branch-commits
R-Goc wrote: Not sure about the version check. Should this just be ignored? https://github.com/llvm/llvm-project/pull/132367 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-br

[llvm-branch-commits] [llvm] [BOLT] Gadget scanner: detect non-protected indirect calls (PR #131899)

2025-03-21 Thread Anatoly Trosinenko via llvm-branch-commits
https://github.com/atrosinenko updated https://github.com/llvm/llvm-project/pull/131899 >From bbb379d74e59fc4409de1a94b4e0698de684b6a1 Mon Sep 17 00:00:00 2001 From: Anatoly Trosinenko Date: Tue, 18 Mar 2025 21:32:11 +0300 Subject: [PATCH] [BOLT] Gadget scanner: detect non-protected indirect ca

[llvm-branch-commits] [llvm] [BOLT] Gadget scanner: detect non-protected indirect calls (PR #131899)

2025-03-21 Thread Anatoly Trosinenko via llvm-branch-commits
https://github.com/atrosinenko updated https://github.com/llvm/llvm-project/pull/131899 >From 0b39fd45befe73650b3be72b3069e5c59cec2947 Mon Sep 17 00:00:00 2001 From: Anatoly Trosinenko Date: Tue, 18 Mar 2025 21:32:11 +0300 Subject: [PATCH] [BOLT] Gadget scanner: detect non-protected indirect ca

[llvm-branch-commits] [llvm] [BOLT] Gadget scanner: reformulate the state for data-flow analysis (PR #131898)

2025-03-21 Thread Anatoly Trosinenko via llvm-branch-commits
https://github.com/atrosinenko updated https://github.com/llvm/llvm-project/pull/131898 >From 479bf6822797ba5e65b1697d9b7ff065014205a4 Mon Sep 17 00:00:00 2001 From: Anatoly Trosinenko Date: Mon, 17 Mar 2025 22:27:53 +0300 Subject: [PATCH] [BOLT] Gadget scanner: reformulate the state for data-f

[llvm-branch-commits] [llvm] [BOLT] Gadget scanner: detect non-protected indirect calls (PR #131899)

2025-03-21 Thread Anatoly Trosinenko via llvm-branch-commits
https://github.com/atrosinenko updated https://github.com/llvm/llvm-project/pull/131899 >From 0b39fd45befe73650b3be72b3069e5c59cec2947 Mon Sep 17 00:00:00 2001 From: Anatoly Trosinenko Date: Tue, 18 Mar 2025 21:32:11 +0300 Subject: [PATCH] [BOLT] Gadget scanner: detect non-protected indirect ca

[llvm-branch-commits] [llvm] [AMDGPU][SDAG] Only fold flat offsets if they are inbounds (PR #132353)

2025-03-21 Thread Fabian Ritter via llvm-branch-commits
https://github.com/ritter-x2a updated https://github.com/llvm/llvm-project/pull/132353 >From dd12dc2dc49b65b426b6ced3268e85939e55f9f6 Mon Sep 17 00:00:00 2001 From: Fabian Ritter Date: Fri, 21 Mar 2025 03:33:02 -0400 Subject: [PATCH] [AMDGPU][SDAG] Only fold flat offsets if they are inbounds F

[llvm-branch-commits] [llvm] AMDGPU/GlobalISel: add RegBankLegalize rules for extends and trunc (PR #132383)

2025-03-21 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.dev/github/pr/llvm/llvm-project/132383?utm_source=stack-comment-downstack-mergeability-w

[llvm-branch-commits] [llvm] [AMDGPU][GlobalISel] Allow forming s16 U/SBFX pre-regbankselect (PR #131309)

2025-03-21 Thread Pierre van Houtryve via llvm-branch-commits
https://github.com/Pierre-vh updated https://github.com/llvm/llvm-project/pull/131309 >From 16cbcc2c44bfe74ba54f00c5be634c54ff43a5cf Mon Sep 17 00:00:00 2001 From: pvanhout Date: Wed, 12 Mar 2025 09:43:15 +0100 Subject: [PATCH] [AMDGPU][GlobalISel] Allow forming s16 U/SBFX pre-regbankselect M

[llvm-branch-commits] [llvm] [AMDGPU][GlobalISel] Allow forming s16 U/SBFX pre-regbankselect (PR #131309)

2025-03-21 Thread Pierre van Houtryve via llvm-branch-commits
https://github.com/Pierre-vh updated https://github.com/llvm/llvm-project/pull/131309 >From 16cbcc2c44bfe74ba54f00c5be634c54ff43a5cf Mon Sep 17 00:00:00 2001 From: pvanhout Date: Wed, 12 Mar 2025 09:43:15 +0100 Subject: [PATCH] [AMDGPU][GlobalISel] Allow forming s16 U/SBFX pre-regbankselect M

[llvm-branch-commits] [llvm] AMDGPU/GlobalISel: add RegBankLegalize rules for bit shifts and sext-inreg (PR #132385)

2025-03-21 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Petar Avramovic (petar-avramovic) Changes Uniform S16 shifts have to be extended to S32 using appropriate Extend before lowering to S32 instruction. Uniform packed V2S16 are lowered to SGPR S32 instructions, other option is to use

[llvm-branch-commits] [llvm] AMDGPU/GlobalISel: add RegBankLegalize rules for AND OR and XOR (PR #132382)

2025-03-21 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-globalisel Author: Petar Avramovic (petar-avramovic) Changes Uniform S1 is lowered to S32. Divergent S1 is selected as VCC(S1) instruction select will select SALU instruction based on wavesize (S32 or S64). S16 are selected as is. There are register

[llvm-branch-commits] [llvm] AMDGPU/GlobalISel: add RegBankLegalize rules for AND OR and XOR (PR #132382)

2025-03-21 Thread Petar Avramovic via llvm-branch-commits
https://github.com/petar-avramovic ready_for_review https://github.com/llvm/llvm-project/pull/132382 ___ 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] Precommit si-fold-bitmask.mir (PR #131310)

2025-03-21 Thread Pierre van Houtryve via llvm-branch-commits
Pierre-vh wrote: > > Where and how should that be implemented ? I struggled with that. I tried > > adding a new special case in TableGen but I just couldn't find the right > > way to do it. Do I just add it in C++ InstructionSelector before it checks > > the patterns? Or should it be some kind

[llvm-branch-commits] [BOLT][NFC] Pass JumpTable to analyzeJumpTable (PR #132110)

2025-03-21 Thread Amir Ayupov via llvm-branch-commits
https://github.com/aaupov updated https://github.com/llvm/llvm-project/pull/132110 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] release/20.x: [clang][docs] Move -Wnontrivial-memcall to added flags. (PR #132367)

2025-03-21 Thread via llvm-branch-commits
https://github.com/R-Goc edited https://github.com/llvm/llvm-project/pull/132367 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] release/20.x: [clang][docs] Move -Wnon-trivial-memcall to added flags. (PR #132367)

2025-03-21 Thread via llvm-branch-commits
https://github.com/R-Goc updated https://github.com/llvm/llvm-project/pull/132367 >From 27a139bbb73c604fb98f5bcd9095c1659528c0ad Mon Sep 17 00:00:00 2001 From: R-Goc Date: Fri, 21 Mar 2025 11:04:31 +0100 Subject: [PATCH] release/20.x: [clang][docs] Move -Wnontrivial-memcall to added flags. -W

[llvm-branch-commits] [clang] Release 20.x: [clang][docs] Move non-trivial-memcall to added flags. (PR #132367)

2025-03-21 Thread via llvm-branch-commits
https://github.com/R-Goc updated https://github.com/llvm/llvm-project/pull/132367 >From 5f13d9a19a5d04bfeb7df5e6681db2a1e9cec3dd Mon Sep 17 00:00:00 2001 From: R-Goc Date: Fri, 21 Mar 2025 11:04:31 +0100 Subject: [PATCH] release/20.x: [clang][docs] Move -Wnon-trivial-memcall to added flags. -

[llvm-branch-commits] [clang] Release 20.x: [clang][docs] Move non-trivial-memcall to added flags. (PR #132367)

2025-03-21 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: None (R-Goc) Changes -Wnon-trivial-memcall was incorrectly added to modified flags instead of added flags. This commit moves it to the added compiler flags. --- Full diff: https://github.com/llvm/llvm-project/pull/132367.diff 1 Files Af

[llvm-branch-commits] [clang] Release 20.x: [clang][docs] Move non-trivial-memcall to added flags. (PR #132367)

2025-03-21 Thread via llvm-branch-commits
https://github.com/R-Goc created https://github.com/llvm/llvm-project/pull/132367 -Wnon-trivial-memcall was incorrectly added to modified flags instead of added flags. This commit moves it to the added compiler flags. >From 7b7009f548851db2f0937e0a3392b4fc5a787529 Mon Sep 17 00:00:00 2001 From

[llvm-branch-commits] [clang] [clang][HeuristicResolver] Default argument heuristic for template parameters (PR #131074)

2025-03-21 Thread Younan Zhang via llvm-branch-commits
https://github.com/zyn0217 approved this pull request. thanks https://github.com/llvm/llvm-project/pull/131074 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [BOLT] Gadget scanner: reformulate the state for data-flow analysis (PR #131898)

2025-03-21 Thread Anatoly Trosinenko via llvm-branch-commits
https://github.com/atrosinenko updated https://github.com/llvm/llvm-project/pull/131898 >From 76946f1e35bfc31c6a7268c6d881efa9f1189a0f Mon Sep 17 00:00:00 2001 From: Anatoly Trosinenko Date: Mon, 17 Mar 2025 22:27:53 +0300 Subject: [PATCH 1/2] [BOLT] Gadget scanner: reformulate the state for d

[llvm-branch-commits] [llvm] [BOLT] Gadget scanner: reformulate the state for data-flow analysis (PR #131898)

2025-03-21 Thread Anatoly Trosinenko via llvm-branch-commits
https://github.com/atrosinenko updated https://github.com/llvm/llvm-project/pull/131898 >From 76946f1e35bfc31c6a7268c6d881efa9f1189a0f Mon Sep 17 00:00:00 2001 From: Anatoly Trosinenko Date: Mon, 17 Mar 2025 22:27:53 +0300 Subject: [PATCH 1/2] [BOLT] Gadget scanner: reformulate the state for d

[llvm-branch-commits] [llvm] [BOLT] Gadget scanner: detect non-protected indirect calls (PR #131899)

2025-03-21 Thread Anatoly Trosinenko via llvm-branch-commits
https://github.com/atrosinenko updated https://github.com/llvm/llvm-project/pull/131899 >From efd98b412431b0c597d3d7dcee0dd4255b8e2418 Mon Sep 17 00:00:00 2001 From: Anatoly Trosinenko Date: Tue, 18 Mar 2025 21:32:11 +0300 Subject: [PATCH 1/2] [BOLT] Gadget scanner: detect non-protected indirec

[llvm-branch-commits] [llvm] [AMDGPU][NFC] Mark GEPs in flat offset folding tests as inbounds (PR #131994)

2025-03-21 Thread Fabian Ritter via llvm-branch-commits
https://github.com/ritter-x2a ready_for_review https://github.com/llvm/llvm-project/pull/131994 ___ 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][SDAG] Only fold flat offsets if they are inbounds (PR #131863)

2025-03-21 Thread Fabian Ritter via llvm-branch-commits
ritter-x2a wrote: The changes are now in #131994 and #132353. https://github.com/llvm/llvm-project/pull/131863 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] release/20.x: [hexagon] Prevent alignment search beyond a label (#130631) (PR #132336)

2025-03-21 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-mc @llvm/pr-subscribers-backend-hexagon Author: None (llvmbot) Changes Backport 1fe463182cea Requested by: @androm3da --- Full diff: https://github.com/llvm/llvm-project/pull/132336.diff 3 Files Affected: - (modified) llvm/lib/Target/Hexagon/MCTarge

[llvm-branch-commits] [flang] [flang][OpenMP] Extend `do concurrent` mapping to multi-range loops (PR #127634)

2025-03-21 Thread Kareem Ergawy via llvm-branch-commits
ergawy wrote: Again sorry, GH is acting weird!! https://github.com/llvm/llvm-project/pull/127634 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits