aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/FrontendAction.cpp
diff options
context:
space:
mode:
authorKareem Ergawy <kareem.ergawy@amd.com>2025-07-04 06:29:34 +0200
committerGitHub <noreply@github.com>2025-07-04 06:29:34 +0200
commit8c9e0c6c61f653928a992422d534e4e7f976dd55 (patch)
tree8f5849566c65303f9e116422a4579b77ef32235b /clang/lib/Frontend/FrontendAction.cpp
parentddcccc4afaff5de66b655caac997189157c34b82 (diff)
downloadllvm-8c9e0c6c61f653928a992422d534e4e7f976dd55.zip
llvm-8c9e0c6c61f653928a992422d534e4e7f976dd55.tar.gz
llvm-8c9e0c6c61f653928a992422d534e4e7f976dd55.tar.bz2
[flang][OpenMP] Allocate `reduction` init temps on the stack for GPUs (#146667)
Temps needed for the reduction init regions are now allocate on the heap all the time. However, this is performance killer for GPUs since malloc calls are prohibitively expensive. Therefore, we should do these allocations on the stack for GPU reductions.
Diffstat (limited to 'clang/lib/Frontend/FrontendAction.cpp')
0 files changed, 0 insertions, 0 deletions