Skip to content

Commit 85705bb

Browse files
authored
[AMDGPU] Disable hasVALUMaskWriteHazard for GFX12 (#78187)
1 parent 3d6c685 commit 85705bb

File tree

2 files changed

+307
-169
lines changed

2 files changed

+307
-169
lines changed

llvm/lib/Target/AMDGPU/GCNSubtarget.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1146,7 +1146,7 @@ class GCNSubtarget final : public AMDGPUGenSubtargetInfo,
11461146

11471147
bool hasForceStoreSC0SC1() const { return HasForceStoreSC0SC1; }
11481148

1149-
bool hasVALUMaskWriteHazard() const { return getGeneration() >= GFX11; }
1149+
bool hasVALUMaskWriteHazard() const { return getGeneration() == GFX11; }
11501150

11511151
/// Return if operations acting on VGPR tuples require even alignment.
11521152
bool needsAlignedVGPRs() const { return GFX90AInsts; }

0 commit comments

Comments
 (0)