[llvm] [AMDGPU] Don't DEALLOC_VGPRS from callable functions (PR #72245)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 14 06:03:14 PST 2023
================
@@ -556,3 +558,27 @@ body: |
S_WAITCNT_VSCNT undef $sgpr_null, 0
S_ENDPGM 0
...
+
+---
+name: gfx_function
+body: |
+ bb.0:
+ ; CHECK-LABEL: name: gfx_function
+ ; CHECK-NOT: S_SENDMSG 3
+ ; CHECK: S_ENDPGM 0
+ GLOBAL_STORE_DWORD undef renamable $vgpr0_vgpr1, killed renamable $vgpr1, 0, 4, implicit $exec
+ S_WAITCNT_VSCNT undef $sgpr_null, 0
----------------
rovka wrote:
I guess it's a bit misleading to have a S_WAITCN_VSCNT here, I just copied it from the test snippet above. I'll brush this up tomorrow.
https://github.com/llvm/llvm-project/pull/72245
More information about the llvm-commits
mailing list