https://github.com/atrosinenko updated
https://github.com/llvm/llvm-project/pull/138655
>From 9745bc91f93b047958c35c98499fa4e0f81a5113 Mon Sep 17 00:00:00 2001
From: Anatoly Trosinenko
Date: Thu, 19 Jun 2025 14:03:59 +0300
Subject: [PATCH] [BOLT] Factor out MCInstReference from gadget scanner (
https://github.com/atrosinenko updated
https://github.com/llvm/llvm-project/pull/139778
>From c44a8d1cc66cb215492838aec4ba5d58b33d0570 Mon Sep 17 00:00:00 2001
From: Anatoly Trosinenko
Date: Tue, 13 May 2025 19:50:41 +0300
Subject: [PATCH] [BOLT] Gadget scanner: optionally assume auth traps on
https://github.com/atrosinenko updated
https://github.com/llvm/llvm-project/pull/139778
>From c44a8d1cc66cb215492838aec4ba5d58b33d0570 Mon Sep 17 00:00:00 2001
From: Anatoly Trosinenko
Date: Tue, 13 May 2025 19:50:41 +0300
Subject: [PATCH] [BOLT] Gadget scanner: optionally assume auth traps on
https://github.com/atrosinenko updated
https://github.com/llvm/llvm-project/pull/137224
>From 27d75c4248864d12381aac765674106f573de923 Mon Sep 17 00:00:00 2001
From: Anatoly Trosinenko
Date: Tue, 22 Apr 2025 21:43:14 +0300
Subject: [PATCH] [BOLT] Gadget scanner: detect untrusted LR before tail
https://github.com/atrosinenko updated
https://github.com/llvm/llvm-project/pull/138883
>From cf77e61451a082bcdcc34cb35639436cccf6f1c6 Mon Sep 17 00:00:00 2001
From: Anatoly Trosinenko
Date: Wed, 7 May 2025 16:42:00 +0300
Subject: [PATCH] [BOLT] Introduce helpers to match `MCInst`s one at a tim
https://github.com/atrosinenko updated
https://github.com/llvm/llvm-project/pull/137975
>From 51b4bbced62522ffbf421f454e5f091e9e38af8f Mon Sep 17 00:00:00 2001
From: Anatoly Trosinenko
Date: Wed, 30 Apr 2025 16:08:10 +0300
Subject: [PATCH] [BOLT] Gadget scanner: account for BRK when searching f
https://github.com/arsenm updated
https://github.com/llvm/llvm-project/pull/145638
>From 56a5cab5a8fb95735202f864bb93031f2de5f555 Mon Sep 17 00:00:00 2001
From: Matt Arsenault
Date: Wed, 25 Jun 2025 14:23:21 +0900
Subject: [PATCH] RuntimeLibcalls: Cleanup darwin exp10 case
Add a predicate func
https://github.com/arsenm updated
https://github.com/llvm/llvm-project/pull/145639
>From 9eebced4e8423aeaa8aeb8c13e13e2483c7a3988 Mon Sep 17 00:00:00 2001
From: Matt Arsenault
Date: Wed, 25 Jun 2025 14:42:24 +0900
Subject: [PATCH] RuntimeLibcalls: Cleanup darwin bzero configuration
Write this
https://github.com/fhahn approved this pull request.
LGTM, thanks
https://github.com/llvm/llvm-project/pull/145639
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commi
https://github.com/atrosinenko updated
https://github.com/llvm/llvm-project/pull/137975
>From 51b4bbced62522ffbf421f454e5f091e9e38af8f Mon Sep 17 00:00:00 2001
From: Anatoly Trosinenko
Date: Wed, 30 Apr 2025 16:08:10 +0300
Subject: [PATCH] [BOLT] Gadget scanner: account for BRK when searching f
https://github.com/atrosinenko updated
https://github.com/llvm/llvm-project/pull/138884
>From 7f3d14f3b173b0425c7624e8d62f0188081ef691 Mon Sep 17 00:00:00 2001
From: Anatoly Trosinenko
Date: Tue, 6 May 2025 11:31:03 +0300
Subject: [PATCH 1/2] [BOLT] Gadget scanner: prevent false positives due t
https://github.com/atrosinenko updated
https://github.com/llvm/llvm-project/pull/137975
>From 150ff318699edf41906df90ad2729a2acf5d3833 Mon Sep 17 00:00:00 2001
From: Anatoly Trosinenko
Date: Wed, 30 Apr 2025 16:08:10 +0300
Subject: [PATCH] [BOLT] Gadget scanner: account for BRK when searching f
@@ -0,0 +1,336 @@
+// REQUIRES: arm-emulator
+
+// DEFINE: %{compile} = mlir-opt %s \
+// DEFINE: --convert-vector-to-scf --convert-scf-to-cf
--convert-vector-to-llvm='enable-arm-neon enable-arm-i8mm' \
+// DEFINE: --expand-strided-metadata --convert-to-llvm
--finalize-memr
https://github.com/atrosinenko updated
https://github.com/llvm/llvm-project/pull/139778
>From 6ba3d538efb8a31e38ffe96c7b4229d27ace93ae Mon Sep 17 00:00:00 2001
From: Anatoly Trosinenko
Date: Tue, 13 May 2025 19:50:41 +0300
Subject: [PATCH] [BOLT] Gadget scanner: optionally assume auth traps on
https://github.com/atrosinenko updated
https://github.com/llvm/llvm-project/pull/138884
>From a5d94c6935e2ab9eb60258ca3e38b4979cd40d0d Mon Sep 17 00:00:00 2001
From: Anatoly Trosinenko
Date: Tue, 6 May 2025 11:31:03 +0300
Subject: [PATCH 1/2] [BOLT] Gadget scanner: prevent false positives due t
https://github.com/atrosinenko updated
https://github.com/llvm/llvm-project/pull/138883
>From fb028a66bed548835cb6fb34a59bfb43eba1f454 Mon Sep 17 00:00:00 2001
From: Anatoly Trosinenko
Date: Wed, 7 May 2025 16:42:00 +0300
Subject: [PATCH] [BOLT] Introduce helpers to match `MCInst`s one at a tim
https://github.com/atrosinenko updated
https://github.com/llvm/llvm-project/pull/138883
>From fb028a66bed548835cb6fb34a59bfb43eba1f454 Mon Sep 17 00:00:00 2001
From: Anatoly Trosinenko
Date: Wed, 7 May 2025 16:42:00 +0300
Subject: [PATCH] [BOLT] Introduce helpers to match `MCInst`s one at a tim
https://github.com/atrosinenko updated
https://github.com/llvm/llvm-project/pull/141665
>From bac57af9732865c18057a6d034925ec8227f1a78 Mon Sep 17 00:00:00 2001
From: Anatoly Trosinenko
Date: Tue, 27 May 2025 21:06:03 +0300
Subject: [PATCH] [BOLT] Gadget scanner: make use of C++17 features and L
https://github.com/atrosinenko updated
https://github.com/llvm/llvm-project/pull/137975
>From 150ff318699edf41906df90ad2729a2acf5d3833 Mon Sep 17 00:00:00 2001
From: Anatoly Trosinenko
Date: Wed, 30 Apr 2025 16:08:10 +0300
Subject: [PATCH] [BOLT] Gadget scanner: account for BRK when searching f
https://github.com/MacDue updated
https://github.com/llvm/llvm-project/pull/142391
>From 55bd461f342d5dcca49b2bac2f2142be9214823a Mon Sep 17 00:00:00 2001
From: Benjamin Maxwell
Date: Thu, 8 May 2025 17:38:27 +
Subject: [PATCH] [AArch64] Prepare for split ZPR and PPR area allocation
(NFCI)
https://github.com/atrosinenko updated
https://github.com/llvm/llvm-project/pull/138884
>From a5d94c6935e2ab9eb60258ca3e38b4979cd40d0d Mon Sep 17 00:00:00 2001
From: Anatoly Trosinenko
Date: Tue, 6 May 2025 11:31:03 +0300
Subject: [PATCH 1/2] [BOLT] Gadget scanner: prevent false positives due t
https://github.com/atrosinenko updated
https://github.com/llvm/llvm-project/pull/141665
>From bac57af9732865c18057a6d034925ec8227f1a78 Mon Sep 17 00:00:00 2001
From: Anatoly Trosinenko
Date: Tue, 27 May 2025 21:06:03 +0300
Subject: [PATCH] [BOLT] Gadget scanner: make use of C++17 features and L
arsenm wrote:
### Merge activity
* **Jun 25, 11:01 AM UTC**: A user started a stack merge that includes this
pull request via
[Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/145638).
https://github.com/llvm/llvm-project/pull/145638
arsenm wrote:
### Merge activity
* **Jun 25, 11:01 AM UTC**: A user started a stack merge that includes this
pull request via
[Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/145639).
https://github.com/llvm/llvm-project/pull/145639
https://github.com/atrosinenko updated
https://github.com/llvm/llvm-project/pull/138883
>From cf77e61451a082bcdcc34cb35639436cccf6f1c6 Mon Sep 17 00:00:00 2001
From: Anatoly Trosinenko
Date: Wed, 7 May 2025 16:42:00 +0300
Subject: [PATCH] [BOLT] Introduce helpers to match `MCInst`s one at a tim
https://github.com/atrosinenko updated
https://github.com/llvm/llvm-project/pull/141665
>From 0e0a677194db58183c6167f347d6a47fe3106672 Mon Sep 17 00:00:00 2001
From: Anatoly Trosinenko
Date: Tue, 27 May 2025 21:06:03 +0300
Subject: [PATCH] [BOLT] Gadget scanner: make use of C++17 features and L
https://github.com/arsenm updated
https://github.com/llvm/llvm-project/pull/140878
>From da0e7f3709e013348cde68701e8739c2912a4e4f Mon Sep 17 00:00:00 2001
From: Matt Arsenault
Date: Mon, 19 May 2025 21:51:06 +0200
Subject: [PATCH] AMDGPU: Handle folding vector splats of inline split f64
inline
https://github.com/arsenm updated
https://github.com/llvm/llvm-project/pull/140878
>From da0e7f3709e013348cde68701e8739c2912a4e4f Mon Sep 17 00:00:00 2001
From: Matt Arsenault
Date: Mon, 19 May 2025 21:51:06 +0200
Subject: [PATCH] AMDGPU: Handle folding vector splats of inline split f64
inline
https://github.com/arsenm updated
https://github.com/llvm/llvm-project/pull/145638
>From 56a5cab5a8fb95735202f864bb93031f2de5f555 Mon Sep 17 00:00:00 2001
From: Matt Arsenault
Date: Wed, 25 Jun 2025 14:23:21 +0900
Subject: [PATCH] RuntimeLibcalls: Cleanup darwin exp10 case
Add a predicate func
https://github.com/arsenm updated
https://github.com/llvm/llvm-project/pull/145639
>From 9eebced4e8423aeaa8aeb8c13e13e2483c7a3988 Mon Sep 17 00:00:00 2001
From: Matt Arsenault
Date: Wed, 25 Jun 2025 14:42:24 +0900
Subject: [PATCH] RuntimeLibcalls: Cleanup darwin bzero configuration
Write this
https://github.com/kosarev approved this pull request.
https://github.com/llvm/llvm-project/pull/140878
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
llvmbot wrote:
@llvm/pr-subscribers-mc
Author: None (llvmbot)
Changes
Backport 630d55cce45f8b409367914ef372047c8c43c511
Requested by: @dianqk
---
Full diff: https://github.com/llvm/llvm-project/pull/145690.diff
2 Files Affected:
- (modified) llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
https://github.com/llvmbot milestoned
https://github.com/llvm/llvm-project/pull/145690
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/llvmbot created
https://github.com/llvm/llvm-project/pull/145690
Backport 630d55cce45f8b409367914ef372047c8c43c511
Requested by: @dianqk
>From eacbb28486642aebd28d826094301cb4ff330287 Mon Sep 17 00:00:00 2001
From: dianqk
Date: Wed, 25 Jun 2025 18:39:36 +0800
Subject: [PATC
llvmbot wrote:
@llvm/pr-subscribers-backend-x86
Author: None (llvmbot)
Changes
Backport 630d55cce45f8b409367914ef372047c8c43c511
Requested by: @dianqk
---
Full diff: https://github.com/llvm/llvm-project/pull/145690.diff
2 Files Affected:
- (modified) llvm/lib/CodeGen/AsmPrinter/AsmPri
https://github.com/atrosinenko updated
https://github.com/llvm/llvm-project/pull/138884
>From 7f3d14f3b173b0425c7624e8d62f0188081ef691 Mon Sep 17 00:00:00 2001
From: Anatoly Trosinenko
Date: Tue, 6 May 2025 11:31:03 +0300
Subject: [PATCH 1/2] [BOLT] Gadget scanner: prevent false positives due t
https://github.com/atrosinenko updated
https://github.com/llvm/llvm-project/pull/139778
>From 6ba3d538efb8a31e38ffe96c7b4229d27ace93ae Mon Sep 17 00:00:00 2001
From: Anatoly Trosinenko
Date: Tue, 13 May 2025 19:50:41 +0300
Subject: [PATCH] [BOLT] Gadget scanner: optionally assume auth traps on
https://github.com/atrosinenko updated
https://github.com/llvm/llvm-project/pull/137224
>From 27d75c4248864d12381aac765674106f573de923 Mon Sep 17 00:00:00 2001
From: Anatoly Trosinenko
Date: Tue, 22 Apr 2025 21:43:14 +0300
Subject: [PATCH] [BOLT] Gadget scanner: detect untrusted LR before tail
https://github.com/evelez7 created
https://github.com/llvm/llvm-project/pull/145835
None
>From c15962ea2a37f3d9896fa77914aee67ccf3b5d3f Mon Sep 17 00:00:00 2001
From: Erick Velez
Date: Tue, 24 Jun 2025 21:08:36 -0700
Subject: [PATCH] [clang-doc] refactor BitcodeReader::readSubBlock
---
clang
evelez7 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/145835?utm_source=stack-comment-downstack-mergeability-warning";
https://github.com/evelez7 edited
https://github.com/llvm/llvm-project/pull/145835
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
@@ -117,45 +117,72 @@ static LLT getReadAnyLaneSplitTy(LLT Ty) {
return LLT::scalar(32);
}
-static Register buildReadAnyLane(MachineIRBuilder &B, Register VgprSrc,
- const RegisterBankInfo &RBI);
+using ReadLaneFnTy =
+function_ref;
+
+sta
@@ -205,7 +207,14 @@ class AMDGPURegBankLegalizeCombiner {
bool tryEliminateReadAnyLane(MachineInstr &Copy) {
Register Dst = Copy.getOperand(0).getReg();
Register Src = Copy.getOperand(1).getReg();
-if (!Src.isVirtual())
+
+// Skip non-vgpr Dst
+if (Dst.is
@@ -1,6 +1,6 @@
; NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
-; RUN: llc -global-isel -mtriple=amdgcn-mesa-mesa3d -stop-after=regbankselect
-regbankselect-fast -o - %s | FileCheck %s
-; RUN: llc -global-isel -mtriple=amdgcn-mesa-mesa3d -stop-afte
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/145578
>From 1b048fff9f025e595f6c202a569cd1248010d9b8 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Tue, 24 Jun 2025 09:50:40 -0700
Subject: [PATCH] [pgo] add means to specify "unknown" MD_prof
---
llvm/include/
https://github.com/aengelke updated
https://github.com/llvm/llvm-project/pull/145009
>From 87858653bb4c9e3911479f139ca0f1b093e94280 Mon Sep 17 00:00:00 2001
From: Matthias Springer
Date: Fri, 20 Jun 2025 10:18:23 +
Subject: [PATCH 1/6] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20ch?=
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/145578
>From 1b048fff9f025e595f6c202a569cd1248010d9b8 Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Tue, 24 Jun 2025 09:50:40 -0700
Subject: [PATCH] [pgo] add means to specify "unknown" MD_prof
---
llvm/include/
https://github.com/momchil-velikov updated
https://github.com/llvm/llvm-project/pull/144699
>From 3240b5d582f6fe5d430f792f0f7d208d80bf7f48 Mon Sep 17 00:00:00 2001
From: Momchil Velikov
Date: Wed, 18 Jun 2025 13:04:45 +
Subject: [PATCH 1/3] [MLIR][AArch64] Add integration test for lowering
@@ -57,6 +57,226 @@ void
RegBankLegalizeHelper::findRuleAndApplyMapping(MachineInstr &MI) {
lower(MI, Mapping, WaterfallSgprs);
}
+bool RegBankLegalizeHelper::executeInWaterfallLoop(
+MachineIRBuilder &B, iterator_range Range,
+SmallSet &SGPROperandRegs) {
+ // Tra
https://github.com/petar-avramovic updated
https://github.com/llvm/llvm-project/pull/142790
>From d5bdc951f61533379fed9a86ed6c0eab18b7893c Mon Sep 17 00:00:00 2001
From: Petar Avramovic
Date: Thu, 5 Jun 2025 12:43:04 +0200
Subject: [PATCH] AMDGPU/GlobalISel: Add waterfall lowering in regbankleg
https://github.com/petar-avramovic updated
https://github.com/llvm/llvm-project/pull/142790
>From d5bdc951f61533379fed9a86ed6c0eab18b7893c Mon Sep 17 00:00:00 2001
From: Petar Avramovic
Date: Thu, 5 Jun 2025 12:43:04 +0200
Subject: [PATCH] AMDGPU/GlobalISel: Add waterfall lowering in regbankleg
https://github.com/petar-avramovic updated
https://github.com/llvm/llvm-project/pull/142789
>From fada12c02954dd1c244c944fa37dbae674284923 Mon Sep 17 00:00:00 2001
From: Petar Avramovic
Date: Thu, 5 Jun 2025 12:17:13 +0200
Subject: [PATCH] AMDGPU/GlobalISel: Improve readanylane combines in
reg
https://github.com/petar-avramovic updated
https://github.com/llvm/llvm-project/pull/142789
>From fada12c02954dd1c244c944fa37dbae674284923 Mon Sep 17 00:00:00 2001
From: Petar Avramovic
Date: Thu, 5 Jun 2025 12:17:13 +0200
Subject: [PATCH] AMDGPU/GlobalISel: Improve readanylane combines in
reg
https://github.com/atrosinenko updated
https://github.com/llvm/llvm-project/pull/138655
>From 55df5f56bcb3a7a1e61bcb88a4f43ec725fdb4bd Mon Sep 17 00:00:00 2001
From: Anatoly Trosinenko
Date: Thu, 19 Jun 2025 14:03:59 +0300
Subject: [PATCH] [BOLT] Factor out MCInstReference from gadget scanner (
Author: Samira Bakon
Date: 2025-06-25T10:17:15-04:00
New Revision: 5ef48b36e5ebc5e0cd1058a502c7ef0cd9347d15
URL:
https://github.com/llvm/llvm-project/commit/5ef48b36e5ebc5e0cd1058a502c7ef0cd9347d15
DIFF:
https://github.com/llvm/llvm-project/commit/5ef48b36e5ebc5e0cd1058a502c7ef0cd9347d15.diff
https://github.com/kazutakahirata approved this pull request.
LGTM. Thanks!
https://github.com/llvm/llvm-project/pull/145721
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-b
@@ -129,6 +147,245 @@ bool AlwaysInlineImpl(
return Changed;
}
+/// Promote allocas to registers if possible.
+static void promoteAllocas(
+Function *Caller, SmallPtrSetImpl &AllocasToPromote,
+function_ref &GetAssumptionCache) {
+ if (AllocasToPromote.empty())
+
https://github.com/fhahn approved this pull request.
LGTM, thanks
https://github.com/llvm/llvm-project/pull/145638
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commi
@@ -106,6 +106,7 @@ struct Embedding {
const std::vector &getData() const { return Data; }
/// Arithmetic operators
+ Embedding operator+(const Embedding &RHS) const;
svkeerthy wrote:
Sure. Will add them too!
https://github.com/llvm/llvm-project/pull/1
shiltian 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/145753?utm_source=stack-comment-downstack-mergeability-warning"
@@ -0,0 +1,113 @@
+//===- MCGOFFAttributes.h - Attributes of GOFF symbols
===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Ap
https://github.com/shiltian updated
https://github.com/llvm/llvm-project/pull/145753
>From 5d44b53a20029b6f216bd18f47f49a9e873613e7 Mon Sep 17 00:00:00 2001
From: "Mekhanoshin, Stanislav"
Date: Wed, 25 Jun 2025 13:56:12 -0400
Subject: [PATCH] [AMDGPU] Add support for `v_cvt_pk_f16_bf8` on gfx12
https://github.com/shiltian updated
https://github.com/llvm/llvm-project/pull/145753
>From 5d44b53a20029b6f216bd18f47f49a9e873613e7 Mon Sep 17 00:00:00 2001
From: "Mekhanoshin, Stanislav"
Date: Wed, 25 Jun 2025 13:56:12 -0400
Subject: [PATCH] [AMDGPU] Add support for `v_cvt_pk_f16_bf8` on gfx12
llvmbot wrote:
@llvm/pr-subscribers-backend-amdgpu
Author: Pierre van Houtryve (Pierre-vh)
Changes
In order to make this easier, I also removed all "removeFromParent" calls from
the visitors, instead adding instructions
to a set of instructions to delete once the function has been visited
arsenm wrote:
This is not a simplifying pass, it is making the IR more complicated. We have
to do hacks like this to prevent later more profitable combines from needing to
parse out expanded IR:
https://github.com/llvm/llvm-project/blob/fa5d7c926f5f571397eb1981649198136f1d6a92/llvm/lib/Target/
https://github.com/aemerson edited
https://github.com/llvm/llvm-project/pull/145613
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
@@ -129,6 +147,245 @@ bool AlwaysInlineImpl(
return Changed;
}
+/// Promote allocas to registers if possible.
+static void promoteAllocas(
+Function *Caller, SmallPtrSetImpl &AllocasToPromote,
+function_ref &GetAssumptionCache) {
+ if (AllocasToPromote.empty())
+
llvmbot wrote:
@llvm/pr-subscribers-mc
@llvm/pr-subscribers-llvm-ir
Author: Shilei Tian (shiltian)
Changes
Co-authored-by: Shilei Tian
---
Patch is 31.64 KiB, truncated to 20.00 KiB below, full version:
https://github.com/llvm/llvm-project/pull/145753.diff
25 Files A
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/145584
>From 591bfc27c2de4a140301100afbbdea1d5a14e39c Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Tue, 24 Jun 2025 13:14:09 -0700
Subject: [PATCH] [IR][PGO] Verify the structure of `VP` metadata.
---
llvm/incl
https://github.com/mtrofin updated
https://github.com/llvm/llvm-project/pull/145584
>From 591bfc27c2de4a140301100afbbdea1d5a14e39c Mon Sep 17 00:00:00 2001
From: Mircea Trofin
Date: Tue, 24 Jun 2025 13:14:09 -0700
Subject: [PATCH] [IR][PGO] Verify the structure of `VP` metadata.
---
llvm/incl
Author: Qinkun Bao
Date: 2025-06-24T10:09:20-04:00
New Revision: b8672c3278bf3ee83e8c44053d03558632ba46e0
URL:
https://github.com/llvm/llvm-project/commit/b8672c3278bf3ee83e8c44053d03558632ba46e0
DIFF:
https://github.com/llvm/llvm-project/commit/b8672c3278bf3ee83e8c44053d03558632ba46e0.diff
LO
arsenm wrote:
> I don't understand the high level motivation here. "Normal"
> combining/simplification order is to visit the operands of an instruction
> before you visit the instruction itself.
Pattern matching is bottom up. This is essentially a selection problem, and
selection is done bot
jayfoad wrote:
> This is not a simplifying pass, it is making the IR more complicated. We have
> to do hacks like this to prevent later more profitable combines from needing
> to parse out expanded IR:
Fair enough, makes sense. I just want to make sure the justification is
properly understood
https://github.com/Pierre-vh created
https://github.com/llvm/llvm-project/pull/145484
In order to make this easier, I also removed all "removeFromParent" calls from
the visitors, instead adding instructions
to a set of instructions to delete once the function has been visited.
This avoids crash
Author: Qinkun Bao
Date: 2025-06-24T13:11:32-04:00
New Revision: 661839d189f825fbb6305e6ac5d8d1cc19ccc42e
URL:
https://github.com/llvm/llvm-project/commit/661839d189f825fbb6305e6ac5d8d1cc19ccc42e
DIFF:
https://github.com/llvm/llvm-project/commit/661839d189f825fbb6305e6ac5d8d1cc19ccc42e.diff
LO
llvmbot wrote:
@nikic What do you think about merging this PR to the release branch?
https://github.com/llvm/llvm-project/pull/145690
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinf
https://github.com/shiltian updated
https://github.com/llvm/llvm-project/pull/145747
>From 5e439f780f3eab0a75e68d2bac9c85892c9f34c2 Mon Sep 17 00:00:00 2001
From: "Mekhanoshin, Stanislav"
Date: Wed, 25 Jun 2025 13:27:57 -0400
Subject: [PATCH] [AMDGPU] Add support for `v_cvt_pk_f16_fp8` on gfx12
https://github.com/shiltian updated
https://github.com/llvm/llvm-project/pull/145747
>From cd383faea1421c6b048fc709685d56e3483c72f5 Mon Sep 17 00:00:00 2001
From: "Mekhanoshin, Stanislav"
Date: Wed, 25 Jun 2025 13:27:57 -0400
Subject: [PATCH] [AMDGPU] Add support for `v_cvt_pk_f16_fp8` on gfx12
@@ -129,6 +147,245 @@ bool AlwaysInlineImpl(
return Changed;
}
+/// Promote allocas to registers if possible.
+static void promoteAllocas(
+Function *Caller, SmallPtrSetImpl &AllocasToPromote,
+function_ref &GetAssumptionCache) {
+ if (AllocasToPromote.empty())
+
https://github.com/shiltian created
https://github.com/llvm/llvm-project/pull/145753
Co-authored-by: Shilei Tian
>From 76ed9609ab498504f7bd557d9703cb5d5f06b043 Mon Sep 17 00:00:00 2001
From: Shilei Tian
Date: Wed, 25 Jun 2025 13:56:12 -0400
Subject: [PATCH] [AMDGPU] Add support for `v_cvt_pk_
Author: Abid Qadeer
Date: 2025-06-25T20:04:40+01:00
New Revision: f7f43d738e2f5054c604ec337c0c4f03315ed910
URL:
https://github.com/llvm/llvm-project/commit/f7f43d738e2f5054c604ec337c0c4f03315ed910
DIFF:
https://github.com/llvm/llvm-project/commit/f7f43d738e2f5054c604ec337c0c4f03315ed910.diff
L
https://github.com/kbeyls edited
https://github.com/llvm/llvm-project/pull/137224
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
llvmbot wrote:
@llvm/pr-subscribers-mc
Author: Shilei Tian (shiltian)
Changes
Co-authored-by: Shilei Tian
---
Patch is 30.33 KiB, truncated to 20.00 KiB below, full version:
https://github.com/llvm/llvm-project/pull/145747.diff
25 Files Affected:
- (modified) clang/
@@ -0,0 +1,106 @@
+//===- MCGOFFAttributes.h - Attributes of GOFF symbols
===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Ap
https://github.com/shiltian updated
https://github.com/llvm/llvm-project/pull/145747
>From cd383faea1421c6b048fc709685d56e3483c72f5 Mon Sep 17 00:00:00 2001
From: "Mekhanoshin, Stanislav"
Date: Wed, 25 Jun 2025 13:27:57 -0400
Subject: [PATCH] [AMDGPU] Add support for `v_cvt_pk_f16_fp8` on gfx12
https://github.com/rampitec approved this pull request.
https://github.com/llvm/llvm-project/pull/145753
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/rampitec approved this pull request.
https://github.com/llvm/llvm-project/pull/145747
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
shiltian 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/145747?utm_source=stack-comment-downstack-mergeability-warning"
@@ -1319,6 +1319,83 @@ shouldReportReturnGadget(const BinaryContext &BC, const
MCInstReference &Inst,
return make_gadget_report(RetKind, Inst, *RetReg);
}
+/// While BOLT already marks some of the branch instructions as tail calls,
+/// this function tries to improve the co
shiltian wrote:
### Merge activity
* **Jun 25, 8:56 PM UTC**: A user started a stack merge that includes this pull
request via
[Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/145753).
https://github.com/llvm/llvm-project/pull/145753
___
https://github.com/shiltian created
https://github.com/llvm/llvm-project/pull/145747
Co-authored-by: Shilei Tian
>From 86417c4382640e179277338a9040be9b6579dec9 Mon Sep 17 00:00:00 2001
From: "Mekhanoshin, Stanislav"
Date: Wed, 25 Jun 2025 13:27:57 -0400
Subject: [PATCH] [AMDGPU] Add support f
https://github.com/shiltian ready_for_review
https://github.com/llvm/llvm-project/pull/145747
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
llvmbot wrote:
@llvm/pr-subscribers-llvm-ir
@llvm/pr-subscribers-clang
Author: Shilei Tian (shiltian)
Changes
Co-authored-by: Shilei Tian
---
Patch is 30.33 KiB, truncated to 20.00 KiB below, full version:
https://github.com/llvm/llvm-project/pull/145747.diff
25 File
@@ -0,0 +1,106 @@
+//===- MCGOFFAttributes.h - Attributes of GOFF symbols
===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Ap
@@ -0,0 +1,106 @@
+//===- MCGOFFAttributes.h - Attributes of GOFF symbols
===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Ap
@@ -129,6 +147,245 @@ bool AlwaysInlineImpl(
return Changed;
}
+/// Promote allocas to registers if possible.
+static void promoteAllocas(
+Function *Caller, SmallPtrSetImpl &AllocasToPromote,
+function_ref &GetAssumptionCache) {
+ if (AllocasToPromote.empty())
+
96 matches
Mail list logo