Skip to content

Commit 2c50f8f

Browse files
authored
[AMDGPU] Include missing FeatureMADIntraFwdBug in gfx11-generic (#89936)
It seems like this happened because #79460 moved this from `FeatureISAVersion11_Common` to `FeatureISAVersion11_0_Common` while #76955 was being reviewed.
1 parent d51a17f commit 2c50f8f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

llvm/lib/Target/AMDGPU/AMDGPU.td

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1493,6 +1493,7 @@ def FeatureISAVersion11_Generic: FeatureSet<
14931493
[FeatureMSAALoadDstSelBug,
14941494
FeatureVALUTransUseHazard,
14951495
FeatureUserSGPRInit16Bug,
1496+
FeatureMADIntraFwdBug,
14961497
FeaturePrivEnabledTrap2NopBug,
14971498
FeatureRequiresCOV6])>;
14981499

llvm/test/CodeGen/AMDGPU/mad_64_32.ll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
; RUN: llc -mtriple=amdgcn -mcpu=gfx1100 -verify-machineinstrs < %s | FileCheck -check-prefixes=GFX11,GFX1100 %s
66
; RUN: llc -mtriple=amdgcn -mcpu=gfx1150 -verify-machineinstrs < %s | FileCheck -check-prefixes=GFX11,GFX1150 %s
77
; RUN: llc -mtriple=amdgcn -mcpu=gfx1200 -verify-machineinstrs < %s | FileCheck -check-prefixes=GFX12 %s
8+
; RUN: llc -mtriple=amdgcn -mcpu=gfx11-generic --amdhsa-code-object-version=6 -verify-machineinstrs < %s | FileCheck -check-prefixes=GFX11,GFX1100 %s
89

910
; On GFX11, ensure vdst and src2 do not partially overlap. Full overlap is ok.
1011

0 commit comments

Comments
 (0)