[llvm] [AMDGPU] Omit image waits in function prologue on gfx1250 (PR #145097)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 20 13:58:09 PDT 2025


================
@@ -2681,6 +2681,10 @@ bool SIInsertWaitcnts::run(MachineFunction &MF) {
         if (CT == LOAD_CNT || CT == DS_CNT || CT == STORE_CNT)
           continue;
 
+        if (!ST->hasImageInsts() &&
+            (CT == EXP_CNT || CT == SAMPLE_CNT || CT == BVH_CNT))
----------------
jayfoad wrote:

Using hasImageInsts to control EXP_CNT looks weird - will this be changed again later?

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


More information about the llvm-commits mailing list