aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorAlex Zinenko <zinenko@google.com>2021-07-30 11:46:26 +0200
committerAlex Zinenko <zinenko@google.com>2021-07-30 13:58:26 +0200
commitaa426c372c71901df64d7bb2f61f351e0b9fd048 (patch)
tree2d445208fc764aa0ef0987f0ffffd91b3c725849 /clang/lib/Frontend/CompilerInvocation.cpp
parente7b8ba103a8411fb25237727c3822d4c431e4814 (diff)
downloadllvm-aa426c372c71901df64d7bb2f61f351e0b9fd048.zip
llvm-aa426c372c71901df64d7bb2f61f351e0b9fd048.tar.gz
llvm-aa426c372c71901df64d7bb2f61f351e0b9fd048.tar.bz2
[OMPIRBuilder] add minimalist reduction support
This introduces a builder function for emitting IR performing reductions in OpenMP. Reduction variable privatization and initialization to the reduction-neutral value is expected to be handled separately. The caller provides the reduction functions. Further commits can provide implementation of reduction functions for the reduction operators defined in the OpenMP specification. This implementation was tested on an MLIR fork targeting OpenMP from C and produced correct executable code. Reviewed By: Meinersbur Differential Revision: https://reviews.llvm.org/D104928
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions