[llvm] [AMDGPU] Enable XNACK on gfx1250 (PR #161457)

Stanislav Mekhanoshin via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 1 00:14:16 PDT 2025


================
@@ -2303,7 +2303,10 @@ Expected<bool> AMDGPUDisassembler::decodeCOMPUTE_PGM_RSRC1(
   KdStream << Indent << ".amdhsa_reserve_vcc " << 0 << '\n';
   if (!hasArchitectedFlatScratch())
     KdStream << Indent << ".amdhsa_reserve_flat_scratch " << 0 << '\n';
-  KdStream << Indent << ".amdhsa_reserve_xnack_mask " << 0 << '\n';
+  bool ReservedXnackMask = STI.hasFeature(AMDGPU::FeatureSupportsXNACK) &&
----------------
rampitec wrote:

If it's on it's on. Remove the 'supported' condition?

https://github.com/llvm/llvm-project/pull/161457


More information about the llvm-commits mailing list