[llvm] [AMDGPU] Add VBUFFER encoding for gfx13 (PR #196262)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Thu May 7 01:58:35 PDT 2026
================
@@ -359,9 +359,11 @@ class GCNSubtarget final : public AMDGPUGenSubtargetInfo,
bool hasAtomicCSub() const { return HasGFX10_BEncoding; }
- bool hasMTBUFInsts() const { return !hasGFX1250Insts(); }
+ bool hasMTBUFInsts() const { return HasGFX13Insts || !hasGFX1250Insts(); }
- bool hasFormattedMUBUFInsts() const { return !hasGFX1250Insts(); }
+ bool hasFormattedMUBUFInsts() const {
+ return HasGFX13Insts || !hasGFX1250Insts();
----------------
arsenm wrote:
Should have a proper subtarget feature
https://github.com/llvm/llvm-project/pull/196262
More information about the llvm-commits
mailing list