[llvm-branch-commits] [llvm] [NFC][AMDGPU] Create tables for async-related intrinsics (PR #225488)

Zach Goldthorpe via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Oct 7 10:51:34 PDT 2026


================
@@ -40,6 +40,25 @@ class AMDGPURsrcIntrinsic<int rsrcarg, bit isimage = false> {
   bit IsImage = isimage;
 }
 
+// Marker classes for asynchronous operations.
+class AMDGPUAsyncIntrinsic {
+  Intrinsic Intr = !cast<Intrinsic>(NAME);
+}
+
+// DMA transfers between global memory and LDS.
+class AMDGPULDSDMAIntrinsic : AMDGPUAsyncIntrinsic;
----------------
zGoldthorpe wrote:

I think I got too comfortable using "async" imprecisely (and it seems to have caused me a lot of confusion even in earlier patches on this stack). I meant async in the sense that the LDSDMA intrinsics don't get tracked with LDS-related counters.

I've fixed this in the whole stack. Hopefully everything makes more sense now.

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


More information about the llvm-branch-commits mailing list