aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorTom Eccles <tom.eccles@arm.com>2024-03-20 09:47:49 +0000
committerGitHub <noreply@github.com>2024-03-20 09:47:49 +0000
commit1f1e0948f20338961f995426c11497e8f21ceb08 (patch)
tree87ab57f2673f69785e0a489e48539bc8f2851a79 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parentd03263814aa1a686e5aaca99ab9d87408b2c6cb5 (diff)
downloadllvm-1f1e0948f20338961f995426c11497e8f21ceb08.zip
llvm-1f1e0948f20338961f995426c11497e8f21ceb08.tar.gz
llvm-1f1e0948f20338961f995426c11497e8f21ceb08.tar.bz2
[flang] run CFG conversion on omp reduction declare ops (#84953)
Most FIR passes only look for FIR operations inside of functions (either because they run only on func.func or they run on the module but iterate over functions internally). But there can also be FIR operations inside of fir.global, some OpenMP and OpenACC container operations. This has worked so far for fir.global and OpenMP reductions because they only contained very simple FIR code which doesn't need most passes to be lowered into LLVM IR. I am not sure how OpenACC works. In the long run, I hope to see a more systematic approach to making sure that every pass runs on all of these container operations. I will write an RFC for this soon. In the meantime, this pass duplicates the CFG conversion pass to also run on omp reduction operations. This is similar to how the AbstractResult pass is already duplicated for fir.global operations. OpenMP array reductions 2/6 Previous PR: https://github.com/llvm/llvm-project/pull/84952 Next PR: https://github.com/llvm/llvm-project/pull/84954 --------- Co-authored-by: Mats Petersson <mats.petersson@arm.com>
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions