================
@@ -19,7 +19,7 @@ body: |
     ; GFX12-NEXT: {{  $}}
     ; GFX12-NEXT: renamable $vgpr0 = GLOBAL_LOAD_DWORD_SADDR renamable 
$sgpr2_sgpr3, killed $vgpr0, 0, 0, implicit $exec :: (load (s32), addrspace 1)
     ; GFX12-NEXT: GLOBAL_INV 16, implicit $exec
-    ; GFX12-NEXT: S_WAIT_LOADCNT 0
+    ; GFX12-NEXT: S_WAIT_LOADCNT 1
----------------
Pierre-vh wrote:

Loads and stores are executed in order, but the data return & counter decrement 
can be done out of order.

Though, this doesn't look like an issue specific to this patch at all. The INV 
is correctly marked as a load (VMEM_READ) so this may be a separate issue, or 
maybe there is a reason why we can assume things return in order.

https://github.com/llvm/llvm-project/pull/135340
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to