[all-commits] [llvm/llvm-project] 008c87: [AMDGPU] Fix excessive stack usage in SIInsertWait...

Jay Foad via All-commits all-commits at lists.llvm.org
Tue Apr 8 06:09:05 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 008c875be85732f72c4df4671167f5be79f449eb
      https://github.com/llvm/llvm-project/commit/008c875be85732f72c4df4671167f5be79f449eb
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2025-04-08 (Tue, 08 Apr 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp

  Log Message:
  -----------
  [AMDGPU] Fix excessive stack usage in SIInsertWaitcnts::run (#134835)

Noticed on Windows when running LLVM as part of a graphics driver, with
total stack usage limited to about 128 KB. In some cases this function
would overflow the stack.

On Linux this reduces stack usage in this function from about 32 KB to
about 0.5 KB.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list