HomePhabricator

[OpenMP] Use the OpenMPIRBuilder for `omp cancel`

Authored by jdoerfert on Dec 27 2019, 1:53 PM.

Description

[OpenMP] Use the OpenMPIRBuilder for omp cancel

An omp cancel parallel needs to be emitted by the OpenMPIRBuilder if
the parallel was emitted by the OpenMPIRBuilder. This patch makes
this possible. The cancel logic is shared with the cancel barriers.
Testing is done via unit tests and the clang cancel_codegen.cpp file
once D70290 lands.

Reviewed By: JonChesterfield

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

Details

Committed
jdoerfertDec 30 2019, 11:57 AM
Reviewer
JonChesterfield
Differential Revision
D71948: [OpenMP] Use the OpenMPIRBuilder for `cancel` directives
Parents
rG4a7aa252a32a: [X86][AsmParser] re-introduce 'offset' operator
Branches
Unknown
Tags
Unknown