[llvm-branch-commits] [llvm] [AMDGPU][SILoadStoreOptimizer] Merge constrained sloads (PR #96162)

Jay Foad via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Jun 20 07:38:06 PDT 2024


================
@@ -967,6 +967,7 @@ class GCNSubtarget final : public AMDGPUGenSubtargetInfo,
 
   bool hasLDSFPAtomicAddF32() const { return GFX8Insts; }
   bool hasLDSFPAtomicAddF64() const { return GFX90AInsts; }
+  bool hasXnackReplay() const { return GFX8Insts; }
----------------
jayfoad wrote:

We already have a field SupportsXNACK for this which is hooked up to the "xnack-support" target feature.

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


More information about the llvm-branch-commits mailing list