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

2025-05-26 Thread Petar Avramovic via llvm-branch-commits
https://github.com/petar-avramovic updated https://github.com/llvm/llvm-project/pull/132385 >From 758eec524d2500317583750a75c1885ecbf394af Mon Sep 17 00:00:00 2001 From: Petar Avramovic Date: Mon, 14 Apr 2025 16:35:19 +0200 Subject: [PATCH] AMDGPU/GlobalISel: add RegBankLegalize rules for bit s

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

2025-05-26 Thread Petar Avramovic via llvm-branch-commits
https://github.com/petar-avramovic updated https://github.com/llvm/llvm-project/pull/132383 >From 50839949c8622e52027d378405d2edc99d9df3a7 Mon Sep 17 00:00:00 2001 From: Petar Avramovic Date: Thu, 8 May 2025 12:03:28 +0200 Subject: [PATCH] AMDGPU/GlobalISel: add RegBankLegalize rules for extend

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

2025-05-26 Thread Petar Avramovic via llvm-branch-commits
https://github.com/petar-avramovic updated https://github.com/llvm/llvm-project/pull/132385 >From 419cfe8adfe34443a380861fe2cfd36400c5fe1f Mon Sep 17 00:00:00 2001 From: Petar Avramovic Date: Mon, 14 Apr 2025 16:35:19 +0200 Subject: [PATCH] AMDGPU/GlobalISel: add RegBankLegalize rules for bit s

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

2025-05-26 Thread Petar Avramovic via llvm-branch-commits
petar-avramovic wrote: ### Merge activity * **May 26, 10:03 AM UTC**: A user started a stack merge that includes this pull request via [Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/132385). https://github.com/llvm/llvm-project/pull/132385 ___

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

2025-05-26 Thread Petar Avramovic via llvm-branch-commits
petar-avramovic wrote: ### Merge activity * **May 26, 10:03 AM UTC**: A user started a stack merge that includes this pull request via [Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/132383). https://github.com/llvm/llvm-project/pull/132383 ___

[llvm-branch-commits] [llvm] AMDGPU/GlobalISel: add RegBankLegalize rules for select (PR #132384)

2025-05-26 Thread Petar Avramovic via llvm-branch-commits
petar-avramovic wrote: ### Merge activity * **May 26, 10:03 AM UTC**: A user started a stack merge that includes this pull request via [Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/132384). https://github.com/llvm/llvm-project/pull/132384 ___

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

2025-05-26 Thread Petar Avramovic via llvm-branch-commits
https://github.com/petar-avramovic updated https://github.com/llvm/llvm-project/pull/132383 >From 50839949c8622e52027d378405d2edc99d9df3a7 Mon Sep 17 00:00:00 2001 From: Petar Avramovic Date: Thu, 8 May 2025 12:03:28 +0200 Subject: [PATCH] AMDGPU/GlobalISel: add RegBankLegalize rules for extend

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

2025-05-26 Thread Petar Avramovic via llvm-branch-commits
https://github.com/petar-avramovic updated https://github.com/llvm/llvm-project/pull/132383 >From 97161545fc7d53077ec52f9b6abdcc5caf78fff9 Mon Sep 17 00:00:00 2001 From: Petar Avramovic Date: Thu, 8 May 2025 12:03:28 +0200 Subject: [PATCH] AMDGPU/GlobalISel: add RegBankLegalize rules for extend

[llvm-branch-commits] [llvm] [AMDGPU] New RegBankSelect: Add missing S/VGPR pointer types (PR #142600)

2025-06-03 Thread Petar Avramovic via llvm-branch-commits
petar-avramovic wrote: Don't like adding all these without use case. Not sure if we can get away with only checking ptr size and ignoring address space but in the end it is mostly used for assert. These are mostly used for loads/stores and atomics, is it really that simple, all 32bit pointer t

[llvm-branch-commits] [llvm] [AMDGPU] New RegBankSelect: Add Ptr32/Ptr64/Ptr128 (PR #142602)

2025-06-03 Thread Petar Avramovic via llvm-branch-commits
petar-avramovic wrote: This one LGTM, minus patches before https://github.com/llvm/llvm-project/pull/142602 ___ 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] New RegBankSelect: Add rules for `G_PTRTOINT` and `G_INTTOPTR` (PR #142604)

2025-06-03 Thread Petar Avramovic via llvm-branch-commits
@@ -2,6 +2,8 @@ # RUN: llc -mtriple=amdgcn -run-pass=regbankselect %s -verify-machineinstrs -o - -regbankselect-fast | FileCheck %s # RUN: llc -mtriple=amdgcn -run-pass=regbankselect %s -verify-machineinstrs -o - -regbankselect-greedy | FileCheck %s +# RUN: llc -mtriple=amdg

[llvm-branch-commits] [llvm] AMDGPU/GlobalISel: Improve readanylane combines in regbanklegalize (PR #142789)

2025-06-04 Thread Petar Avramovic via llvm-branch-commits
https://github.com/petar-avramovic created https://github.com/llvm/llvm-project/pull/142789 None >From fcd0dc75f4674297ef1f5c591ecf6c16314ce3e2 Mon Sep 17 00:00:00 2001 From: Petar Avramovic Date: Wed, 4 Jun 2025 17:12:16 +0200 Subject: [PATCH] AMDGPU/GlobalISel: Improve readanylane combines i

[llvm-branch-commits] [llvm] AMDGPU/GlobalISel: Improve readanylane combines in regbanklegalize (PR #142789)

2025-06-04 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/142789?utm_source=stack-comment-downstack-mergeability-w

[llvm-branch-commits] [llvm] AMDGPU/GlobalISel: Add waterfall lowering in regbanklegalize (PR #142790)

2025-06-04 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/142790?utm_source=stack-comment-downstack-mergeability-w

[llvm-branch-commits] [llvm] AMDGPU/GlobalISel: Improve readanylane combines in regbanklegalize (PR #142789)

2025-06-04 Thread Petar Avramovic via llvm-branch-commits
https://github.com/petar-avramovic ready_for_review https://github.com/llvm/llvm-project/pull/142789 ___ 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 waterfall lowering in regbanklegalize (PR #142790)

2025-06-04 Thread Petar Avramovic via llvm-branch-commits
https://github.com/petar-avramovic ready_for_review https://github.com/llvm/llvm-project/pull/142790 ___ 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] New RegBankSelect: Add rules for `G_PTRTOINT` and `G_INTTOPTR` (PR #142604)

2025-06-04 Thread Petar Avramovic via llvm-branch-commits
https://github.com/petar-avramovic approved this pull request. https://github.com/llvm/llvm-project/pull/142604 ___ 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 waterfall lowering in regbanklegalize (PR #142790)

2025-06-04 Thread Petar Avramovic via llvm-branch-commits
https://github.com/petar-avramovic created https://github.com/llvm/llvm-project/pull/142790 Add rules for G_AMDGPU_BUFFER_LOAD and implement waterfall lowering for divergent operands that must be sgpr. >From 6dd26d44b55420f91a1684e78938ea8b426680cc Mon Sep 17 00:00:00 2001 From: Petar Avramovic

[llvm-branch-commits] [llvm] AMDGPU/GlobalISel: Import D16 load patterns and add combines for them (PR #153178)

2025-09-04 Thread Petar Avramovic via llvm-branch-commits
https://github.com/petar-avramovic updated https://github.com/llvm/llvm-project/pull/153178 >From 59fdffee62b1531afe56ff99fe7cf0021a98a821 Mon Sep 17 00:00:00 2001 From: Petar Avramovic Date: Tue, 26 Aug 2025 14:10:41 +0200 Subject: [PATCH] AMDGPU/GlobalISel: Import D16 load patterns and add co

[llvm-branch-commits] [llvm] AMDGPU/UniformityAnalysis: fix G_ZEXTLOAD and G_SEXTLOAD (PR #157845)

2025-09-14 Thread Petar Avramovic via llvm-branch-commits
https://github.com/petar-avramovic ready_for_review https://github.com/llvm/llvm-project/pull/157845 ___ 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/UniformityAnalysis: fix G_ZEXTLOAD and G_SEXTLOAD (PR #157845)

2025-09-12 Thread Petar Avramovic via llvm-branch-commits
https://github.com/petar-avramovic updated https://github.com/llvm/llvm-project/pull/157845 >From f426257364826fbec65abb6de92698bfa18f9487 Mon Sep 17 00:00:00 2001 From: Petar Avramovic Date: Wed, 10 Sep 2025 13:04:20 +0200 Subject: [PATCH] AMDGPU/UniformityAnalysis: fix G_ZEXTLOAD and G_SEXTLO

[llvm-branch-commits] [llvm] AMDGPU/GlobalISel: Import D16 load patterns and add combines for them (PR #153178)

2025-09-13 Thread Petar Avramovic via llvm-branch-commits
https://github.com/petar-avramovic updated https://github.com/llvm/llvm-project/pull/153178 >From 739caaa21a514cc89c57deae344bf563c9563e90 Mon Sep 17 00:00:00 2001 From: Petar Avramovic Date: Tue, 26 Aug 2025 14:10:41 +0200 Subject: [PATCH] AMDGPU/GlobalISel: Import D16 load patterns and add co

[llvm-branch-commits] [llvm] AMDGPU/UniformityAnalysis: fix G_ZEXTLOAD and G_SEXTLOAD (PR #157845)

2025-09-13 Thread Petar Avramovic via llvm-branch-commits
https://github.com/petar-avramovic updated https://github.com/llvm/llvm-project/pull/157845 >From f426257364826fbec65abb6de92698bfa18f9487 Mon Sep 17 00:00:00 2001 From: Petar Avramovic Date: Wed, 10 Sep 2025 13:04:20 +0200 Subject: [PATCH] AMDGPU/UniformityAnalysis: fix G_ZEXTLOAD and G_SEXTLO

[llvm-branch-commits] [llvm] AMDGPU/GlobalISel: Import D16 load patterns and add combines for them (PR #153178)

2025-08-26 Thread Petar Avramovic via llvm-branch-commits
https://github.com/petar-avramovic updated https://github.com/llvm/llvm-project/pull/153178 >From acde25e13c32446d2ba67c6455e197b334807a72 Mon Sep 17 00:00:00 2001 From: Petar Avramovic Date: Tue, 26 Aug 2025 14:10:41 +0200 Subject: [PATCH] AMDGPU/GlobalISel: Import D16 load patterns and add co

[llvm-branch-commits] [llvm] AMDGPU/GlobalISel: Import D16 load patterns and add combines for them (PR #153178)

2025-08-26 Thread Petar Avramovic via llvm-branch-commits
https://github.com/petar-avramovic updated https://github.com/llvm/llvm-project/pull/153178 >From acde25e13c32446d2ba67c6455e197b334807a72 Mon Sep 17 00:00:00 2001 From: Petar Avramovic Date: Tue, 26 Aug 2025 14:10:41 +0200 Subject: [PATCH] AMDGPU/GlobalISel: Import D16 load patterns and add co

[llvm-branch-commits] [llvm] AMDGPU/GlobalISel: Import D16 load patterns and add combines for them (PR #153178)

2025-08-22 Thread Petar Avramovic via llvm-branch-commits
https://github.com/petar-avramovic updated https://github.com/llvm/llvm-project/pull/153178 >From 441b8928a2a4ad8ee987d38c6393c126ea59acb7 Mon Sep 17 00:00:00 2001 From: Petar Avramovic Date: Tue, 12 Aug 2025 14:22:24 +0200 Subject: [PATCH] AMDGPU/GlobalISel: Import D16 load patterns and add co

[llvm-branch-commits] [llvm] AMDGPU/GlobalISel: Import D16 load patterns and add combines for them (PR #153178)

2025-08-22 Thread Petar Avramovic via llvm-branch-commits
https://github.com/petar-avramovic updated https://github.com/llvm/llvm-project/pull/153178 >From 441b8928a2a4ad8ee987d38c6393c126ea59acb7 Mon Sep 17 00:00:00 2001 From: Petar Avramovic Date: Tue, 12 Aug 2025 14:22:24 +0200 Subject: [PATCH] AMDGPU/GlobalISel: Import D16 load patterns and add co

[llvm-branch-commits] [llvm] AMDGPU/GlobalISel: Import D16 load patterns and add combines for them (PR #153178)

2025-08-22 Thread Petar Avramovic via llvm-branch-commits
https://github.com/petar-avramovic updated https://github.com/llvm/llvm-project/pull/153178 >From 617ca5469852ba2c45e2f84dc649af66fd8150fd Mon Sep 17 00:00:00 2001 From: Petar Avramovic Date: Tue, 12 Aug 2025 14:22:24 +0200 Subject: [PATCH] AMDGPU/GlobalISel: Import D16 load patterns and add co

[llvm-branch-commits] [llvm] AMDGPU/GlobalISel: Import D16 load patterns and add combines for them (PR #153178)

2025-08-22 Thread Petar Avramovic via llvm-branch-commits
https://github.com/petar-avramovic updated https://github.com/llvm/llvm-project/pull/153178 >From 617ca5469852ba2c45e2f84dc649af66fd8150fd Mon Sep 17 00:00:00 2001 From: Petar Avramovic Date: Tue, 12 Aug 2025 14:22:24 +0200 Subject: [PATCH] AMDGPU/GlobalISel: Import D16 load patterns and add co

[llvm-branch-commits] [llvm] AMDGPU/UniformityAnalysis: fix G_ZEXTLOAD and G_SEXTLOAD (PR #157845)

2025-09-17 Thread Petar Avramovic via llvm-branch-commits
https://github.com/petar-avramovic created https://github.com/llvm/llvm-project/pull/157845 Use same rules for G_ZEXTLOAD and G_SEXTLOAD as for G_LOAD. Flat addrspace(0) and private addrspace(5) G_ZEXTLOAD and G_SEXTLOAD should be always divergent. >From 8573b1705133c5284a283d170643b8e30bfc4a20

[llvm-branch-commits] [llvm] AMDGPU/UniformityAnalysis: fix G_ZEXTLOAD and G_SEXTLOAD (PR #157845)

2025-09-20 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/157845?utm_source=stack-comment-downstack-mergeability-w

[llvm-branch-commits] [llvm] AMDGPU/GlobalISel: Import D16 load patterns and add combines for them (PR #153178)

2025-09-20 Thread Petar Avramovic via llvm-branch-commits
https://github.com/petar-avramovic updated https://github.com/llvm/llvm-project/pull/153178 >From 739caaa21a514cc89c57deae344bf563c9563e90 Mon Sep 17 00:00:00 2001 From: Petar Avramovic Date: Tue, 26 Aug 2025 14:10:41 +0200 Subject: [PATCH] AMDGPU/GlobalISel: Import D16 load patterns and add co

<    1   2   3   4