| commit | be9f8ffd8141f7cadf04b1bef5dfc65a7b8a7fd7 | [log] [tgz] |
|---|---|---|
| author | David Truby <david.truby@arm.com> | Tue Feb 13 19:13:54 2024 +0000 |
| committer | GitHub <noreply@github.com> | Tue Feb 13 19:13:54 2024 +0000 |
| tree | 8c39b39c1d83cc71afd5efb49129868e1234e563 | |
| parent | a69ecb2420f644e31f18fcc61a07b3ca627e8939 [diff] |
[mlir][flang][openmp] Rework wsloop reduction operations (#80019) This patch reworks the way that wsloop reduction operations function to better match the expected semantics from the OpenMP specification, following the rework of parallel reductions. The new semantics create a private reduction variable as a block argument which should be used normally for all operations on that variable in the region; this private variable is then combined with the others into the shared variable. This way no special omp.reduction operations are needed inside the region. These block arguments follow the loop control block arguments. --------- Co-authored-by: Kiran Chandramohan <kiran.chandramohan@arm.com>
Welcome to the LLVM project!
This repository contains the source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and run-time environments.
The LLVM project has multiple components. The core of the project is itself called “LLVM”. This contains all of the tools, libraries, and header files needed to process intermediate representations and convert them into object files. Tools include an assembler, disassembler, bitcode analyzer, and bitcode optimizer.
C-like languages use the Clang frontend. This component compiles C, C++, Objective-C, and Objective-C++ code into LLVM bitcode -- and from there into object files, using LLVM.
Other components include: the libc++ C++ standard library, the LLD linker, and more.
Consult the Getting Started with LLVM page for information on building and running LLVM.
For information on how to contribute to the LLVM project, please take a look at the Contributing to LLVM guide.
Join the LLVM Discourse forums, Discord chat, LLVM Office Hours or Regular sync-ups.
The LLVM project has adopted a code of conduct for participants to all modes of communication within the project.