diff options
author | Johannes Doerfert <johannes@jdoerfert.de> | 2019-12-27 15:53:37 -0600 |
---|---|---|
committer | Johannes Doerfert <johannes@jdoerfert.de> | 2019-12-30 13:57:13 -0600 |
commit | 000c6a5038bc654946b4348e586d685077b06943 (patch) | |
tree | 45e63249c359a027b79f1825d9a06c1fde7be490 /clang/test/OpenMP/parallel_codegen.cpp | |
parent | 4a7aa252a32a94b1bb61b3dc7f027b4a27ae334f (diff) | |
download | bcm5719-llvm-000c6a5038bc654946b4348e586d685077b06943.tar.gz bcm5719-llvm-000c6a5038bc654946b4348e586d685077b06943.zip |
[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
Diffstat (limited to 'clang/test/OpenMP/parallel_codegen.cpp')
0 files changed, 0 insertions, 0 deletions