aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
diff options
context:
space:
mode:
authorWilliam S. Moses <gh@wsmoses.com>2022-02-23 14:08:51 -0500
committerWilliam S. Moses <gh@wsmoses.com>2022-03-01 13:25:09 -0500
commit78fb4f9d5dd95d26424919f2da184e1119ccb023 (patch)
tree97a799ceb05c4be75c0773b15a87ab4592a7a6bf /llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
parentb9d6e8c44150cf03261f41c445839fa5505fb280 (diff)
downloadllvm-78fb4f9d5dd95d26424919f2da184e1119ccb023.zip
llvm-78fb4f9d5dd95d26424919f2da184e1119ccb023.tar.gz
llvm-78fb4f9d5dd95d26424919f2da184e1119ccb023.tar.bz2
[SCF][MemRef] Enable SCF.Parallel Lowering to use Scope Op
As discussed in https://reviews.llvm.org/D119743 scf.parallel would continuously stack allocate since the alloca op was placd in the wsloop rather than the omp.parallel. This PR is the second stage of the fix for that problem. Specifically, we now introduce an alloca scope around the inlined body of the scf.parallel and enable a canonicalization to hoist the allocations to the surrounding allocation scope (e.g. omp.parallel). Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D120423
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp')
0 files changed, 0 insertions, 0 deletions