[all-commits] [llvm/llvm-project] 8c177a: [Flang][OpenMP][Lower] Refactor MLIR codegen for O...
Sergio Afonso via All-commits
all-commits at lists.llvm.org
Tue Aug 15 05:18:00 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8c177ae9ddba6aefc52289e5d14089e7c838ab8b
https://github.com/llvm/llvm-project/commit/8c177ae9ddba6aefc52289e5d14089e7c838ab8b
Author: Sergio Afonso <safonsof at amd.com>
Date: 2023-08-15 (Tue, 15 Aug 2023)
Changed paths:
M flang/lib/Lower/OpenMP.cpp
M flang/test/Lower/OpenMP/parallel-sections.f90
Log Message:
-----------
[Flang][OpenMP][Lower] Refactor MLIR codegen for OpenMP constructs
This patch extracts MLIR codegen logic from various types of OpenMP constructs
and places it into operation-specific functions. This refactoring mainly
targets block constructs and unifying logic for directives that can appear on
their own as well as combined with others.
The processing of clauses that do not apply to the directive being processed is
avoided and code duplication for combined constructs is reduced.
Depends on D156455.
Differential Revision: https://reviews.llvm.org/D156809
More information about the All-commits
mailing list