https://github.com/topperc approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/127527
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
HighCommander4 wrote:
Thanks all for the reviews!
Adding @tstellar to request merging this to the llvm 20 branch.
https://github.com/llvm/llvm-project/pull/127358
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.ll
https://github.com/HighCommander4 updated
https://github.com/llvm/llvm-project/pull/127358
>From 8359f75adaacd9d2b7247e8887151cce59e7c086 Mon Sep 17 00:00:00 2001
From: Nathan Ridge
Date: Sat, 15 Feb 2025 01:30:48 -0500
Subject: [PATCH] [clangd] Add clangd 20 release notes
---
clang-tools-ext
https://github.com/arsenm commented:
Later patch exposes miscompiles with this one
https://github.com/llvm/llvm-project/pull/127485
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo
https://github.com/arsenm updated
https://github.com/llvm/llvm-project/pull/127563
>From 2f31f251066060c70674499b28be8ab4f438aee5 Mon Sep 17 00:00:00 2001
From: Matt Arsenault
Date: Mon, 17 Feb 2025 22:31:48 +0700
Subject: [PATCH] AMDGPU: Fix overly conservative immediate operand check
The rea
https://github.com/arsenm updated
https://github.com/llvm/llvm-project/pull/127562
>From 2f11ad086fafc06a1bc1e24ec89cb5a66c9c5eba Mon Sep 17 00:00:00 2001
From: Matt Arsenault
Date: Tue, 18 Feb 2025 10:05:30 +0700
Subject: [PATCH] AMDGPU: Do not try to commute instruction with same input
regis
https://github.com/arsenm updated
https://github.com/llvm/llvm-project/pull/127485
>From e5b8e8eb6030e99fef6f3a9e410dbcaa163f9e16 Mon Sep 17 00:00:00 2001
From: Matt Arsenault
Date: Mon, 17 Feb 2025 17:18:27 +0700
Subject: [PATCH] AMDGPU: Handle subregister uses in SIFoldOperands constant
fold
arsenm wrote:
### Merge activity
* **Feb 17, 10:28 PM EST**: A user started a stack merge that includes this
pull request via
[Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/127481).
https://github.com/llvm/llvm-project/pull/127481
llvmbot wrote:
@llvm/pr-subscribers-backend-amdgpu
Author: Matt Arsenault (arsenm)
Changes
The real legality check is peformed later anyway, so this was
unnecessarily blocking immediate folds in handled cases.
This also stops folding s_fmac_f32 to s_fmamk_f32 in a few tests,
but that seem
llvmbot wrote:
@llvm/pr-subscribers-backend-amdgpu
Author: Matt Arsenault (arsenm)
Changes
There's little point to trying to commute an instruction if the
two operands are already the same.
This avoids an assertion in a future patch, but this likely isn't the
correct fix. The worklist man
https://github.com/arsenm ready_for_review
https://github.com/llvm/llvm-project/pull/127563
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/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.dev/github/pr/llvm/llvm-project/127563?utm_source=stack-comment-downstack-mergeability-warning";
https://github.com/arsenm ready_for_review
https://github.com/llvm/llvm-project/pull/127562
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/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.dev/github/pr/llvm/llvm-project/127562?utm_source=stack-comment-downstack-mergeability-warning";
https://github.com/arsenm updated
https://github.com/llvm/llvm-project/pull/127484
>From 3a2b041e192d8ec5f45734d8ec7321e77e62145c Mon Sep 17 00:00:00 2001
From: Matt Arsenault
Date: Mon, 17 Feb 2025 17:12:22 +0700
Subject: [PATCH 1/2] AMDGPU: Extract lambda used in foldImmediate into a
helper
https://github.com/arsenm created
https://github.com/llvm/llvm-project/pull/127563
The real legality check is peformed later anyway, so this was
unnecessarily blocking immediate folds in handled cases.
This also stops folding s_fmac_f32 to s_fmamk_f32 in a few tests,
but that seems better. The
https://github.com/arsenm created
https://github.com/llvm/llvm-project/pull/127562
There's little point to trying to commute an instruction if the
two operands are already the same.
This avoids an assertion in a future patch, but this likely isn't the
correct fix. The worklist management in SIF
https://github.com/arsenm updated
https://github.com/llvm/llvm-project/pull/127484
>From 3a2b041e192d8ec5f45734d8ec7321e77e62145c Mon Sep 17 00:00:00 2001
From: Matt Arsenault
Date: Mon, 17 Feb 2025 17:12:22 +0700
Subject: [PATCH 1/2] AMDGPU: Extract lambda used in foldImmediate into a
helper
https://github.com/arsenm updated
https://github.com/llvm/llvm-project/pull/127483
>From aa2d8fa644299f58b2593f2f3c5cf532fdf4cdae Mon Sep 17 00:00:00 2001
From: Matt Arsenault
Date: Mon, 17 Feb 2025 15:25:29 +0700
Subject: [PATCH] AMDGPU: Handle brev and not cases in getConstValDefinedInReg
We
https://github.com/arsenm updated
https://github.com/llvm/llvm-project/pull/127483
>From aa2d8fa644299f58b2593f2f3c5cf532fdf4cdae Mon Sep 17 00:00:00 2001
From: Matt Arsenault
Date: Mon, 17 Feb 2025 15:25:29 +0700
Subject: [PATCH] AMDGPU: Handle brev and not cases in getConstValDefinedInReg
We
https://github.com/arsenm updated
https://github.com/llvm/llvm-project/pull/127485
>From d978a9636ea12626dd7650efffba63fe8a91e1a4 Mon Sep 17 00:00:00 2001
From: Matt Arsenault
Date: Mon, 17 Feb 2025 17:18:27 +0700
Subject: [PATCH] AMDGPU: Handle subregister uses in SIFoldOperands constant
fold
https://github.com/arsenm updated
https://github.com/llvm/llvm-project/pull/127485
>From d978a9636ea12626dd7650efffba63fe8a91e1a4 Mon Sep 17 00:00:00 2001
From: Matt Arsenault
Date: Mon, 17 Feb 2025 17:18:27 +0700
Subject: [PATCH] AMDGPU: Handle subregister uses in SIFoldOperands constant
fold
arsenm wrote:
### Merge activity
* **Feb 17, 10:28 PM EST**: A user started a stack merge that includes this
pull request via
[Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/127483).
https://github.com/llvm/llvm-project/pull/127483
arsenm wrote:
### Merge activity
* **Feb 17, 10:28 PM EST**: A user started a stack merge that includes this
pull request via
[Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/127482).
https://github.com/llvm/llvm-project/pull/127482
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: None (llvmbot)
Changes
Backport 39ec9de
Requested by: @arsenm
---
Patch is 79.56 KiB, truncated to 20.00 KiB below, full version:
https://github.com/llvm/llvm-project/pull/127552.diff
35 Files Affected:
- (modified) clang/include/cla
rampitec wrote:
And in any case it is a moot until baseline change is accepted.
https://github.com/llvm/llvm-project/pull/127142
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llv
nico wrote:
(FYI, possibly causes test failures on mac:
https://github.com/llvm/llvm-project/pull/125587#issuecomment-2661004287)
https://github.com/llvm/llvm-project/pull/127310
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://github.com/llvmbot created
https://github.com/llvm/llvm-project/pull/127552
Backport 39ec9de
Requested by: @arsenm
>From 386d3fbebe8ac3c464d0bd125cf4ef0fca30bb64 Mon Sep 17 00:00:00 2001
From: Alex Voicu
Date: Fri, 14 Feb 2025 11:20:45 +
Subject: [PATCH] [clang][CodeGen] `sret` ar
llvmbot wrote:
@llvm/pr-subscribers-backend-risc-v
Author: None (llvmbot)
Changes
Backport 39ec9de
Requested by: @arsenm
---
Patch is 79.56 KiB, truncated to 20.00 KiB below, full version:
https://github.com/llvm/llvm-project/pull/127552.diff
35 Files Affected:
- (modified) clang/in
rampitec wrote:
> > Which one do you prefer, this or #127246? They are mutually exclusive.
>
> They're not really. This one is the incremental step which adds the test,
> #127246 is the final form
The test is meaningless if we overestimate.
https://github.com/llvm/llvm-project/pull/127142
___
llvmbot wrote:
@llvm/pr-subscribers-backend-systemz
@llvm/pr-subscribers-backend-hexagon
@llvm/pr-subscribers-backend-arm
Author: None (llvmbot)
Changes
Backport 39ec9de
Requested by: @arsenm
---
Patch is 79.56 KiB, truncated to 20.00 KiB below, full version:
https://github.com/llvm/ll
llvmbot wrote:
@llvm/pr-subscribers-backend-aarch64
Author: None (llvmbot)
Changes
Backport 39ec9de
Requested by: @arsenm
---
Patch is 79.56 KiB, truncated to 20.00 KiB below, full version:
https://github.com/llvm/llvm-project/pull/127552.diff
35 Files Affected:
- (modified) clang/i
https://github.com/llvmbot milestoned
https://github.com/llvm/llvm-project/pull/127552
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
llvmbot wrote:
@AlexVlx What do you think about merging this PR to the release branch?
https://github.com/llvm/llvm-project/pull/127552
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listi
arsenm wrote:
> Which one do you prefer, this or #127246? They are mutually exclusive.
They're not really. This one is the incremental step which adds the test,
#127246 is the final form
https://github.com/llvm/llvm-project/pull/127142
___
llvm-branc
https://github.com/llvmbot updated
https://github.com/llvm/llvm-project/pull/127548
>From 5707853ff790e724f2bb2c470f5a943743ac4511 Mon Sep 17 00:00:00 2001
From: Brad Smith
Date: Mon, 17 Feb 2025 17:46:02 -0500
Subject: [PATCH] [OpenMP][libomp] Add OpenBSD, NetBSD and DragonFly stdarg
handling
github-actions[bot] wrote:
@brad0 (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.
htt
https://github.com/tstellar closed
https://github.com/llvm/llvm-project/pull/127548
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
Author: Brad Smith
Date: 2025-02-17T17:08:00-08:00
New Revision: 5707853ff790e724f2bb2c470f5a943743ac4511
URL:
https://github.com/llvm/llvm-project/commit/5707853ff790e724f2bb2c470f5a943743ac4511
DIFF:
https://github.com/llvm/llvm-project/commit/5707853ff790e724f2bb2c470f5a943743ac4511.diff
LO
github-actions[bot] wrote:
@jmorse (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.
ht
Author: Jeremy Morse
Date: 2025-02-17T17:04:28-08:00
New Revision: 5c126253ca4ecf8d46a313856c04a17e5d65a800
URL:
https://github.com/llvm/llvm-project/commit/5c126253ca4ecf8d46a313856c04a17e5d65a800
DIFF:
https://github.com/llvm/llvm-project/commit/5c126253ca4ecf8d46a313856c04a17e5d65a800.diff
https://github.com/tstellar closed
https://github.com/llvm/llvm-project/pull/127493
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
github-actions[bot] wrote:
@dtcxzyw (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.
h
https://github.com/tstellar closed
https://github.com/llvm/llvm-project/pull/127391
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
Author: Yingwei Zheng
Date: 2025-02-17T17:02:40-08:00
New Revision: 9e02cc4080f2268845c7e51a3f1a3b150daad40c
URL:
https://github.com/llvm/llvm-project/commit/9e02cc4080f2268845c7e51a3f1a3b150daad40c
DIFF:
https://github.com/llvm/llvm-project/commit/9e02cc4080f2268845c7e51a3f1a3b150daad40c.diff
https://github.com/llvmbot updated
https://github.com/llvm/llvm-project/pull/127391
>From 9e02cc4080f2268845c7e51a3f1a3b150daad40c Mon Sep 17 00:00:00 2001
From: Yingwei Zheng
Date: Sun, 16 Feb 2025 20:18:29 +0800
Subject: [PATCH] [InstCombine] Do not keep samesign when speculatively
executing
Author: Fangrui Song
Date: 2025-02-17T16:14:33-08:00
New Revision: a2b502050302a4cf8a9c4e623331810eed51bb81
URL:
https://github.com/llvm/llvm-project/commit/a2b502050302a4cf8a9c4e623331810eed51bb81
DIFF:
https://github.com/llvm/llvm-project/commit/a2b502050302a4cf8a9c4e623331810eed51bb81.diff
tstellar wrote:
ping @zixuan-wu
https://github.com/llvm/llvm-project/pull/126436
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
tstellar wrote:
@AaronBallman What do you think about backporting this?
https://github.com/llvm/llvm-project/pull/126659
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch
github-actions[bot] wrote:
@MaskRay (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.
h
Author: Fangrui Song
Date: 2025-02-17T16:14:33-08:00
New Revision: 9bcc825ee491a85c2f7b1573d6a3abf6d5cf0c8a
URL:
https://github.com/llvm/llvm-project/commit/9bcc825ee491a85c2f7b1573d6a3abf6d5cf0c8a
DIFF:
https://github.com/llvm/llvm-project/commit/9bcc825ee491a85c2f7b1573d6a3abf6d5cf0c8a.diff
https://github.com/tstellar closed
https://github.com/llvm/llvm-project/pull/126848
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
Author: Fangrui Song
Date: 2025-02-17T16:14:33-08:00
New Revision: 02a511e42c6783f14ac45d71c5278dd031c1bcf7
URL:
https://github.com/llvm/llvm-project/commit/02a511e42c6783f14ac45d71c5278dd031c1bcf7
DIFF:
https://github.com/llvm/llvm-project/commit/02a511e42c6783f14ac45d71c5278dd031c1bcf7.diff
https://github.com/llvmbot updated
https://github.com/llvm/llvm-project/pull/126848
>From a2b502050302a4cf8a9c4e623331810eed51bb81 Mon Sep 17 00:00:00 2001
From: Fangrui Song
Date: Thu, 30 Jan 2025 19:03:38 -0800
Subject: [PATCH 1/3] [ELF] ICF: replace includeInDynsym with isExported
Similar t
https://github.com/llvmbot created
https://github.com/llvm/llvm-project/pull/127548
Backport 0b8bd472b0faf79005dfdd1078904fdf39879d61
Requested by: @brad0
>From 66f0a4a9c5a4e2158d95ae2eca2017216523b94c Mon Sep 17 00:00:00 2001
From: Brad Smith
Date: Mon, 17 Feb 2025 17:46:02 -0500
Subject: [P
https://github.com/devnexen approved this pull request.
https://github.com/llvm/llvm-project/pull/127548
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
llvmbot wrote:
@devnexen What do you think about merging this PR to the release branch?
https://github.com/llvm/llvm-project/pull/127548
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/list
https://github.com/llvmbot milestoned
https://github.com/llvm/llvm-project/pull/127548
___
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.
LGTM
https://github.com/llvm/llvm-project/pull/127485
___
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/127483
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
rampitec wrote:
Which one do you prefer, this or
https://github.com/llvm/llvm-project/pull/127246? They are mutually exclusive.
https://github.com/llvm/llvm-project/pull/127142
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
ht
https://github.com/llvmbot created
https://github.com/llvm/llvm-project/pull/127531
Backport 941f7cbf5a3e7aa9f36b002dc22cfdb4ff50fea8
Requested by: @mordante
>From 2b96bbb64e0de22f9ac41aca6a3249cfbe8e8fa0 Mon Sep 17 00:00:00 2001
From: Mark de Wever
Date: Mon, 17 Feb 2025 19:08:07 +0100
Subje
slinder1 wrote:
### Merge activity
* **Feb 17, 1:26 PM EST**: A user started a stack merge that includes this pull
request via
[Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/126148).
https://github.com/llvm/llvm-project/pull/126148
___
https://github.com/slinder1 updated
https://github.com/llvm/llvm-project/pull/126148
>From 075a702713d78b66b495a0903d069af0cd1bf97e Mon Sep 17 00:00:00 2001
From: Scott Linder
Date: Thu, 6 Feb 2025 00:01:07 +
Subject: [PATCH] [AMDGPU] Push amdgpu-preload-kern-arg-prolog after
livedebugvalu
https://github.com/slinder1 updated
https://github.com/llvm/llvm-project/pull/126148
>From 075a702713d78b66b495a0903d069af0cd1bf97e Mon Sep 17 00:00:00 2001
From: Scott Linder
Date: Thu, 6 Feb 2025 00:01:07 +
Subject: [PATCH] [AMDGPU] Push amdgpu-preload-kern-arg-prolog after
livedebugvalu
llvmbot wrote:
@ldionne What do you think about merging this PR to the release branch?
https://github.com/llvm/llvm-project/pull/127531
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listi
https://github.com/MaskRay approved this pull request.
https://github.com/llvm/llvm-project/pull/126848
___
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-libcxx
Author: None (llvmbot)
Changes
Backport 941f7cbf5a3e7aa9f36b002dc22cfdb4ff50fea8
Requested by: @mordante
---
Full diff: https://github.com/llvm/llvm-project/pull/127531.diff
2 Files Affected:
- (modified) libcxx/include/__chrono/time_zone.h (
https://github.com/llvmbot milestoned
https://github.com/llvm/llvm-project/pull/127531
___
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/optimisan updated
https://github.com/llvm/llvm-project/pull/120557
>From 64fc22034753b75dceb4d1f51ab2de88649d291a Mon Sep 17 00:00:00 2001
From: Akshat Oke
Date: Tue, 11 Feb 2025 12:36:40 +
Subject: [PATCH 1/4] [CodeGen][NewPM] Plug greedy RA in codegen pipeline
---
llv
llvmbot wrote:
@topperc What do you think about merging this PR to the release branch?
https://github.com/llvm/llvm-project/pull/127527
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listi
https://github.com/llvmbot created
https://github.com/llvm/llvm-project/pull/127527
Backport 788cb725d8b92a82e41e64540dccca97c9086a58
Requested by: @nikic
>From 858d79c579b55d3785136c09a9d7082538204451 Mon Sep 17 00:00:00 2001
From: Brian Cain
Date: Mon, 17 Feb 2025 09:30:48 -0600
Subject: [P
llvmbot wrote:
@llvm/pr-subscribers-backend-hexagon
Author: None (llvmbot)
Changes
Backport 788cb725d8b92a82e41e64540dccca97c9086a58
Requested by: @nikic
---
Full diff: https://github.com/llvm/llvm-project/pull/127527.diff
2 Files Affected:
- (modified) llvm/lib/Target/Hexagon/Hexagon
https://github.com/llvmbot milestoned
https://github.com/llvm/llvm-project/pull/127527
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
@@ -2709,13 +2709,23 @@ getRefPtrIfDeclareTarget(mlir::Value value,
}
namespace {
+// Append customMappers information to existing MapInfosTy
+struct MapInfosTy : llvm::OpenMPIRBuilder::MapInfosTy {
+ SmallVector Mappers;
ergawy wrote:
We gain better readabi
https://github.com/arsenm updated
https://github.com/llvm/llvm-project/pull/127484
>From b59c65f9ae4d20211cc01e05743505a5f493ff81 Mon Sep 17 00:00:00 2001
From: Matt Arsenault
Date: Mon, 17 Feb 2025 17:12:22 +0700
Subject: [PATCH 1/2] AMDGPU: Extract lambda used in foldImmediate into a
helper
@@ -3437,6 +3437,30 @@ void SIInstrInfo::removeModOperands(MachineInstr &MI)
const {
}
}
+std::optional SIInstrInfo::extractSubregFromImm(int64_t Imm,
+ unsigned SubRegIndex)
{
+ switch (SubRegIndex) {
+ case AMDGPU
@@ -401,6 +401,15 @@ class SIInstrInfo final : public AMDGPUGenInstrInfo {
void removeModOperands(MachineInstr &MI) const;
+ /// Return the extracted immediate value in a subregister use from a constant
+ /// materialized in a super register.
+ ///
+ /// e.g. %imm = S_M
@@ -3446,25 +3470,6 @@ bool SIInstrInfo::foldImmediate(MachineInstr &UseMI,
MachineInstr &DefMI,
if (!getConstValDefinedInReg(DefMI, Reg, Imm))
shiltian wrote:
[Re: line
+3469]
nit: I'd still prefer to initialize it even though if `getConstValDefinedInReg`
@@ -3437,6 +3437,30 @@ void SIInstrInfo::removeModOperands(MachineInstr &MI)
const {
}
}
+std::optional SIInstrInfo::extractSubregFromImm(int64_t Imm,
+ unsigned SubRegIndex)
{
+ switch (SubRegIndex) {
+ case AMDGPU
https://github.com/shiltian approved this pull request.
https://github.com/llvm/llvm-project/pull/127482
___
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/shiltian edited
https://github.com/llvm/llvm-project/pull/127482
___
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/cdevadas approved this pull request.
https://github.com/llvm/llvm-project/pull/127481
___
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/arsenm updated
https://github.com/llvm/llvm-project/pull/127481
>From 19351f47142d05f5845e3d6b12764b6b574e9a7e Mon Sep 17 00:00:00 2001
From: Matt Arsenault
Date: Mon, 17 Feb 2025 16:38:57 +0700
Subject: [PATCH 1/2] AMDGPU: Fix foldImmediate breaking register class
constrain
@@ -419,25 +419,30 @@ body: |
...
-# FIXME:
-# ---
-# name:fold_v_mov_b64_64_to_unaligned
-# body: |
-# bb.0:
-# %0:vreg_64_align2 = V_MOV_B64_e32 1311768467750121200, implicit $exec
-# %1:vreg_64 = COPY killed %0
-# SI_RETURN
@@ -419,25 +419,30 @@ body: |
...
-# FIXME:
-# ---
-# name:fold_v_mov_b64_64_to_unaligned
-# body: |
-# bb.0:
-# %0:vreg_64_align2 = V_MOV_B64_e32 1311768467750121200, implicit $exec
-# %1:vreg_64 = COPY killed %0
-# SI_RETURN
@@ -3473,14 +3473,19 @@ bool SIInstrInfo::foldImmediate(MachineInstr &UseMI,
MachineInstr &DefMI,
assert(UseMI.getOperand(1).getReg().isVirtual());
}
+MachineFunction *MF = UseMI.getParent()->getParent();
cdevadas wrote:
```suggestion
Machi
https://github.com/ergawy approved this pull request.
https://github.com/llvm/llvm-project/pull/124746
___
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/cdevadas approved this pull request.
https://github.com/llvm/llvm-project/pull/120557
___
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/TIFitis updated
https://github.com/llvm/llvm-project/pull/124746
>From 7b5c918249a9c29ae586d9f1ccae6b7359fcd793 Mon Sep 17 00:00:00 2001
From: Akash Banerjee
Date: Tue, 28 Jan 2025 13:38:13 +
Subject: [PATCH 1/8] [MLIR][OpenMP] Add LLVM translation support for OpenMP
Use
@@ -4673,7 +4804,8 @@ convertHostOrTargetOperation(Operation *op,
llvm::IRBuilderBase &builder,
.Case([&](omp::TaskwaitOp op) {
return convertOmpTaskwaitOp(op, builder, moduleTranslation);
})
- .Casehttps://github.com/llvm/llvm-project/pull/124746
https://github.com/OCHyams approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/127493
___
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-backend-amdgpu
Author: None (llvmbot)
Changes
Backport 18ea6c9
Requested by: @arsenm
---
Patch is 33.93 KiB, truncated to 20.00 KiB below, full version:
https://github.com/llvm/llvm-project/pull/127496.diff
4 Files Affected:
- (modified) llvm/lib/
https://github.com/jmorse updated
https://github.com/llvm/llvm-project/pull/127493
>From 7a3b7dd0acc441be19f232f6f44baa239b7d94c4 Mon Sep 17 00:00:00 2001
From: Jeremy Morse
Date: Mon, 17 Feb 2025 13:38:41 +
Subject: [PATCH 1/2] [ReleaseNotes][RemoveDIs] Add release note for deprecated
ins
@@ -116,6 +116,8 @@ Changes to the LLVM IR
Changes to LLVM infrastructure
--
+ * Several methods that use Instruction pointers as insertion positions
(moveBefore, getFirstNonPHI) have been deprecated in favour of overloads and
variants that use `B
https://github.com/optimisan updated
https://github.com/llvm/llvm-project/pull/119540
>From 38a3dab96c301bd21eaa7586e49484f35a237f71 Mon Sep 17 00:00:00 2001
From: Akshat Oke
Date: Wed, 11 Dec 2024 08:51:55 +
Subject: [PATCH 1/8] [CodeGen][NewPM] Port RegAllocGreedy to NPM
---
llvm/includ
@@ -116,6 +116,8 @@ Changes to the LLVM IR
Changes to LLVM infrastructure
--
+ * Several methods that use Instruction pointers as insertion positions
(moveBefore, getFirstNonPHI) have been deprecated in favour of overloads and
variants that use `B
https://github.com/OCHyams commented:
Couple of nits from me (sorry).
https://github.com/llvm/llvm-project/pull/127493
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-c
https://github.com/jhuber6 approved this pull request.
https://github.com/llvm/llvm-project/pull/127496
___
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-backend-amdgpu
Author: Matt Arsenault (arsenm)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/127485.diff
2 Files Affected:
- (modified) llvm/lib/Target/AMDGPU/SIFoldOperands.cpp (+33-24)
- (modified) llvm/test/CodeGen/AMDGPU/cons
1 - 100 of 154 matches
Mail list logo