[all-commits] [llvm/llvm-project] c7a0c2: AMDGPU: Report large stack usage for recursive calls
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Wed Nov 10 17:02:13 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c7a0c2d0f7be2f456bd72b5c3508966d5b10233b
https://github.com/llvm/llvm-project/commit/c7a0c2d0f7be2f456bd72b5c3508966d5b10233b
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2021-11-10 (Wed, 10 Nov 2021)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUResourceUsageAnalysis.cpp
M llvm/test/CodeGen/AMDGPU/call-graph-register-usage.ll
A llvm/test/CodeGen/AMDGPU/recursion.ll
Log Message:
-----------
AMDGPU: Report large stack usage for recursive calls
We were previously setting an ignored bit in the kernel headers. The
current behavior is to add the large amount on top of the statically
known size of a single stack frame. I'm not sure if we should just use
the large size as the entire reported size instead.
More information about the All-commits
mailing list