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

Matt Arsenault via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 22 07:12:30 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 {
----------------
arsenm wrote:

Use predicate derived from feature on the builtin 

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


More information about the cfe-commits mailing list