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

Pierre van Houtryve via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 5 02:46:31 PST 2026


================
@@ -2439,6 +2597,68 @@ bool WaitcntBrackets::mergeScore(const MergeInfo &M, unsigned &Score,
   return OtherShifted > MyShifted;
 }
 
+bool WaitcntBrackets::mergeAsyncMarkers(
+    const MergeInfo MergeInfos[NUM_INST_CNTS],
----------------
Pierre-vh wrote:

tiny nit: passing an array by argument is technically fine but does feel a bit weird, how about `ArrayRef` instead ?

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


More information about the cfe-commits mailing list