Skip to content
Unverified Commit 8c177ae9 authored by Sergio Afonso's avatar Sergio Afonso
Browse files

[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
parent 98322d3e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment