[flang][OpenMP] Lowering support for atomic capture
This patch adds lowering support for atomic capture operation. First is created a region (without any operand) for the atomic capture operation. Then based on one of the following configurations... 1. [update-stmt, capture-stmt] 2. [capture-stmt, update-stmt] 3. [capture-stmt, write-stmt] ... the lowering proceeds by creating these individual operations inside the atomic capture's region. Differential Revision: https://reviews.llvm.org/D127272 Reviewed By: kiranchandramohan
Loading
Please sign in to comment