diff options
author | Tom Eccles <tom.eccles@arm.com> | 2024-03-15 11:46:12 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-15 11:46:12 +0000 |
commit | e12b46fef76472b3eeb3c689dbd848c72ff8486f (patch) | |
tree | 240d55728e68e2e0cefcde187dffcc26d9654aa3 /llvm/unittests/ADT/APIntTest.cpp | |
parent | f623adbbbdea8ac6af06e44be218e4fa969e523d (diff) | |
download | llvm-e12b46fef76472b3eeb3c689dbd848c72ff8486f.zip llvm-e12b46fef76472b3eeb3c689dbd848c72ff8486f.tar.gz llvm-e12b46fef76472b3eeb3c689dbd848c72ff8486f.tar.bz2 |
[flang] support fir.alloca operations inside of omp reduction ops (#84952)
Advise to place the alloca at the start of the first block of whichever
region (init or combiner) we are currently inside.
It probably isn't safe to put an alloca inside of a combiner region
because this will be executed multiple times. But that would be a bug to
fix in Lower/OpenMP.cpp, not here.
OpenMP array reductions 1/6
Next PR: https://github.com/llvm/llvm-project/pull/84953
Diffstat (limited to 'llvm/unittests/ADT/APIntTest.cpp')
0 files changed, 0 insertions, 0 deletions