[llvm] AMDGPU: Always use AV spill pseudos on targets with AGPRs (PR #149099)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 17 22:56:23 PDT 2025


================
@@ -1930,27 +1858,27 @@ static unsigned getWWMRegSpillRestoreOpcode(unsigned Size,
   if (Size != 4)
     llvm_unreachable("unknown wwm register spill size");
 
-  if (IsVectorSuperClass)
+  if (IsVectorSuperClass) // TODO: Always use this if there are AGPRs
----------------
arsenm wrote:

Haven't tried, it's hard enough to test the base case. WWM can be left for later 

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


More information about the llvm-commits mailing list