From bc7c9be7b1e924553270175b10efec43898d0ff6 Mon Sep 17 00:00:00 2001 From: Valentin Clement Date: Thu, 13 Apr 2023 11:32:35 -0700 Subject: [PATCH] [flang][openacc] Add proper TODO for the block construct Trigger the not yet implemented message for block constructs that are not lowered. Reviewed By: PeteSteinfeld, razvanlupusoru Differential Revision: https://reviews.llvm.org/D148253 --- flang/lib/Lower/OpenACC.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/flang/lib/Lower/OpenACC.cpp b/flang/lib/Lower/OpenACC.cpp index ad08f90..0b8b2e2f 100644 --- a/flang/lib/Lower/OpenACC.cpp +++ b/flang/lib/Lower/OpenACC.cpp @@ -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"); } } -- 2.7.4