HomePhabricator

[OpenMPOpt][WIP] Expand parallel region merging

Authored by ggeorgakoudis on Jan 11 2021, 8:03 AM.

Description

[OpenMPOpt][WIP] Expand parallel region merging

The existing implementation of parallel region merging applies only to
consecutive parallel regions that have speculatable sequential
instructions in-between. This patch lifts this limitation to expand
merging with any sequential instructions in-between, except calls to
unmergable OpenMP runtime functions. In-between sequential instructions
in the merged region are sequentialized in a "master" region and any
output values are broadcasted to the following parallel regions and the
sequential region continuation of the merged region.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D90909

Details

Committed
ggeorgakoudisJan 11 2021, 8:06 AM
Reviewer
jdoerfert
Differential Revision
D90909: [OpenMPOpt][WIP] Expand parallel region merging
Parents
rGa2dbf3443af7: [clangd] Fix -check mode doesn't respect any tidy configs.
Branches
Unknown
Tags
Unknown