[all-commits] [llvm/llvm-project] ec0ed5: [Flang][OpenMP][Lower] Refactor lowering of compou...
Sergio Afonso via All-commits
all-commits at lists.llvm.org
Fri Mar 29 07:07:32 PDT 2024
Branch: refs/heads/users/skatrak/spr/clause-operands-04-compound-lower
Home: https://github.com/llvm/llvm-project
Commit: ec0ed50b0d5f9606f0e9a1a3a9999f601bec310f
https://github.com/llvm/llvm-project/commit/ec0ed50b0d5f9606f0e9a1a3a9999f601bec310f
Author: Sergio Afonso <safonsof at amd.com>
Date: 2024-03-29 (Fri, 29 Mar 2024)
Changed paths:
M flang/include/flang/Semantics/openmp-directive-sets.h
M flang/lib/Lower/OpenMP/OpenMP.cpp
Log Message:
-----------
[Flang][OpenMP][Lower] Refactor lowering of compound constructs
This patch simplifies the lowering from PFT to MLIR of OpenMP compound
constructs (i.e. combined and composite).
The new approach consists of iteratively processing the outermost leaf
construct of the given combined construct until it cannot be split further.
Both leaf constructs and composite ones have `gen...()` functions that are
called when appropriate.
This approach enables treating a leaf construct the same way regardless of if
it appeared as part of a combined construct, and it also enables the lowering
of composite constructs as a single unit.
Previous corner cases are now handled in a more straightforward way and
comments pointing to the relevant spec section are added. Directive sets are
also completed with missing LOOP related constructs.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list