aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorJanek van Oirschot <janek.vanoirschot@amd.com>2024-11-15 18:40:05 +0000
committerGitHub <noreply@github.com>2024-11-15 18:40:05 +0000
commitbd9145c8c21334e099d51b3e66f49d51d24931ee (patch)
tree7d14bffdd5b52159a7b0c2a3585f8c46df1589b6 /clang/lib/CodeGen/CodeGenFunction.cpp
parent098b0d18add97dea94e16006486b2fded65e228d (diff)
downloadllvm-bd9145c8c21334e099d51b3e66f49d51d24931ee.zip
llvm-bd9145c8c21334e099d51b3e66f49d51d24931ee.tar.gz
llvm-bd9145c8c21334e099d51b3e66f49d51d24931ee.tar.bz2
Reapply [AMDGPU] Avoid resource propagation for recursion through multiple functions (#112251)
I was wrong last patch. I viewed the `Visited` set purely as a possible recursion deterrent where functions calling a callee multiple times are handled elsewhere. This doesn't consider cases where a function is called multiple times by different callers still part of the same call graph. New test shows the aforementioned case. Reapplies #111004, fixes #115562.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions