HomePhabricator

Lowering of OpenMP Parallel operation to LLVM IR 1/n

Authored by kiranchandramohan on Jul 13 2020, 3:13 PM.

Description

Lowering of OpenMP Parallel operation to LLVM IR 1/n

This patch introduces lowering of the OpenMP parallel operation to LLVM
IR using the OpenMPIRBuilder.

Functions topologicalSort and connectPhiNodes are generalised so that
they work with operations also. connectPhiNodes is also made static.

Lowering works for a parallel region with multiple blocks. Clauses and
arguments of the OpenMP operation are not handled.

Reviewed By: rriddle, anchu-rajendran

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

Details

Committed
kiranchandramohanJul 13 2020, 3:55 PM
Reviewer
rriddle
Differential Revision
Restricted Differential Revision
Parents
rG004bf35ba048: Update ubsan_interface.inc for D71491
Branches
Unknown
Tags
Unknown