[clang] [llvm] [AMDGPU] Introduce asyncmark/wait intrinsics (PR #173259)

Sameer Sahasrabuddhe via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 22 23:37:28 PST 2025


================
@@ -1688,11 +1688,22 @@ let SubtargetPredicate = HasWaitXcnt in {
 
 // Represents the point at which a wave must wait for all outstanding direct loads to LDS.
 // Typically inserted by the memory legalizer and consumed by SIInsertWaitcnts.
-
 def S_WAITCNT_lds_direct : SPseudoInstSI<(outs), (ins)> {
    let hasSideEffects = 0;
 }
 
+// FIXME: Until support for GFX12Plus is ready, restrict these to only preGFX12
+let SubtargetPredicate = isGFX9GFX10GFX11 in {
----------------
ssahasra wrote:

Fixed. Had to introduce the predicate and rename the existing Feature for consistency.

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


More information about the llvm-commits mailing list