[llvm] [AMDGPU] New test for untested line in AMDGPUMarkLastScratchLoad (PR #185430)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 10 12:03:54 PDT 2026


================
@@ -279,3 +279,308 @@ define amdgpu_cs void @max_11_vgprs_branch(ptr addrspace(1) %p, i32 %tmp) "amdgp
   store volatile i32 %v10, ptr addrspace(1) poison
   ret void
 }
+
+
+declare i32 @foo() nounwind
----------------
arsenm wrote:

though I guess it doesn't do anything on the declaration? you definitely want it on function definitions 

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


More information about the llvm-commits mailing list