Skip to content

Commit

Permalink
[flang][openacc] Add proper TODO for the block construct
Browse files Browse the repository at this point in the history
Trigger the not yet implemented message for
block constructs that are not lowered.

Reviewed By: PeteSteinfeld, razvanlupusoru

Differential Revision: https://reviews.llvm.org/D148253
  • Loading branch information
clementval committed Apr 13, 2023
1 parent 6251b04 commit bc7c9be
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions flang/lib/Lower/OpenACC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -701,6 +701,12 @@ genACC(Fortran::lower::AbstractConverter &converter,
} else if (blockDirective.v == llvm::acc::ACCD_data) {
genACCDataOp(converter, currentLocation, semanticsContext, stmtCtx,
accClauseList);
} else if (blockDirective.v == llvm::acc::ACCD_serial) {
TODO(currentLocation, "serial construct lowering");
} else if (blockDirective.v == llvm::acc::ACCD_kernels) {
TODO(currentLocation, "kernels construct lowering");
} else if (blockDirective.v == llvm::acc::ACCD_host_data) {
TODO(currentLocation, "host_data construct lowering");
}
}

Expand Down

0 comments on commit bc7c9be

Please sign in to comment.