HomePhabricator

[OpenMP][MLIR] Fix for nested parallel regions

Authored by kiranchandramohan on Oct 17 2020, 2:24 PM.

Description

[OpenMP][MLIR] Fix for nested parallel regions

Usage of nested parallel regions were not working correctly and leading
to assertion failures. Fix contains the following changes,

  1. Don't set the insertion point in the body callback.
  2. Save the continuation IP in a stack and set the branch to

continuationIP at the terminator.

Reviewed By: SouraVX, jdoerfert, ftynse

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

Details

Committed
kiranchandramohanOct 19 2020, 12:45 AM
Reviewer
SouraVX
Differential Revision
D88720: [OpenMP][MLIR] Fix for nested parallel regions
Parents
rG1e32df2f91f1: [clang-rename] Fix rename on variable templates.
Branches
Unknown
Tags
Unknown