[PATCH] D128442: [AMDGPU] GFX11: automatically release VGPRs at the end of the shader

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 30 09:40:40 PDT 2022


foad marked 2 inline comments as done.
foad added inline comments.


================
Comment at: llvm/lib/Target/AMDGPU/AMDGPUReleaseVGPRs.cpp:57
+    // Use the cache to break infinite loop and save some time
+    if (BlockVMEMStore.count(&MBB) != 0)
+      return BlockVMEMStore[&MBB];
----------------
arsenm wrote:
> Try to insert and see if it failed?
How does this look?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D128442/new/

https://reviews.llvm.org/D128442



More information about the llvm-commits mailing list