Skip to content

Commit

Permalink
[AMDGPU] Disable hasVALUMaskWriteHazard for GFX12 (#78187)
Browse files Browse the repository at this point in the history
  • Loading branch information
jayfoad committed Jan 15, 2024
1 parent 3d6c685 commit 85705bb
Show file tree
Hide file tree
Showing 2 changed files with 307 additions and 169 deletions.
2 changes: 1 addition & 1 deletion llvm/lib/Target/AMDGPU/GCNSubtarget.h
Original file line number Diff line number Diff line change
Expand Up @@ -1146,7 +1146,7 @@ class GCNSubtarget final : public AMDGPUGenSubtargetInfo,

bool hasForceStoreSC0SC1() const { return HasForceStoreSC0SC1; }

bool hasVALUMaskWriteHazard() const { return getGeneration() >= GFX11; }
bool hasVALUMaskWriteHazard() const { return getGeneration() == GFX11; }

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

0 comments on commit 85705bb

Please sign in to comment.