[PATCH] D130347: [AMDGPU] user-sgpr-init16-bug does not apply to gfx1103
Jay Foad via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 29 06:25:33 PDT 2022
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG3cfa9b14312b: [AMDGPU] user-sgpr-init16-bug does not apply to gfx1103 (authored by foad).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D130347/new/
https://reviews.llvm.org/D130347
Files:
llvm/lib/Target/AMDGPU/AMDGPU.td
llvm/lib/Target/AMDGPU/GCNProcessors.td
llvm/test/CodeGen/AMDGPU/gfx11-user-sgpr-init16-bug.ll
Index: llvm/test/CodeGen/AMDGPU/gfx11-user-sgpr-init16-bug.ll
===================================================================
--- llvm/test/CodeGen/AMDGPU/gfx11-user-sgpr-init16-bug.ll
+++ llvm/test/CodeGen/AMDGPU/gfx11-user-sgpr-init16-bug.ll
@@ -12,6 +12,10 @@
; RUN: llc -global-isel=0 -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1102 -amdgpu-enable-vopd=0 < %s | FileCheck -check-prefixes=GCN,WORKAROUND %s
; RUN: llc -global-isel=1 -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1102 -amdgpu-enable-vopd=0 < %s | FileCheck -check-prefixes=GCN,WORKAROUND %s
+; Does not apply to gfx1103
+; RUN: llc -global-isel=0 -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1103 -amdgpu-enable-vopd=0 < %s | FileCheck -check-prefixes=GCN,NOWORKAROUND %s
+; RUN: llc -global-isel=1 -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1103 -amdgpu-enable-vopd=0 < %s | FileCheck -check-prefixes=GCN,NOWORKAROUND %s
+
; There aren't any stack objects, but we still enable the
; private_segment_wavefront_offset to get to 16, and the workgroup ID
; is in s14.
Index: llvm/lib/Target/AMDGPU/GCNProcessors.td
===================================================================
--- llvm/lib/Target/AMDGPU/GCNProcessors.td
+++ llvm/lib/Target/AMDGPU/GCNProcessors.td
@@ -261,5 +261,5 @@
>;
def : ProcessorModel<"gfx1103", GFX11SpeedModel,
- FeatureISAVersion11_0_2.Features
+ FeatureISAVersion11_0_3.Features
>;
Index: llvm/lib/Target/AMDGPU/AMDGPU.td
===================================================================
--- llvm/lib/Target/AMDGPU/AMDGPU.td
+++ llvm/lib/Target/AMDGPU/AMDGPU.td
@@ -1284,6 +1284,10 @@
!listconcat(FeatureISAVersion11_Common.Features,
[FeatureUserSGPRInit16Bug])>;
+def FeatureISAVersion11_0_3 : FeatureSet<
+ !listconcat(FeatureISAVersion11_Common.Features,
+ [])>;
+
//===----------------------------------------------------------------------===//
def AMDGPUInstrInfo : InstrInfo {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130347.448609.patch
Type: text/x-patch
Size: 1888 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220729/75363696/attachment.bin>
More information about the llvm-commits
mailing list