[llvm-branch-commits] [llvm] [AMDGPU][SIMemoryLegalizer] Lower single-wave workgroup scope to wavefront in absence of LDSDMA (PR #224065)

Sameer Sahasrabuddhe via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Sep 22 01:32:22 PDT 2026


================
@@ -3404,6 +3404,45 @@ bool isIntrinsicAlwaysUniform(unsigned IntrID) {
   return lookupAlwaysUniform(IntrID);
 }
 
+bool isAsyncIntrinsic(unsigned IntrID) {
+  switch (IntrID) {
----------------
ssahasra wrote:

Yes. It would be really nice to find or invent some properties that can be checked instead of making a list! SIInsertWaitcnts.cpp does have `isAsync()` which itself calls some utilities from SIInstrInfo. But if this is too much work, it's okay to do that as a follow up change.

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


More information about the llvm-branch-commits mailing list