[flang-commits] [flang] [flang][acc] Add TODO for cache directive lowering (PR #170608)

Valentin Clement バレンタイン クレメン via flang-commits flang-commits at lists.llvm.org
Wed Dec 3 23:00:55 PST 2025


================
@@ -4787,6 +4787,8 @@ genACC(Fortran::lower::AbstractConverter &converter,
        Fortran::semantics::SemanticsContext &semanticsContext,
        const Fortran::parser::OpenACCCacheConstruct &cacheConstruct) {
   fir::FirOpBuilder &builder = converter.getFirOpBuilder();
+  mlir::Location loc = converter.genLocation(cacheConstruct.source);
+  TODO(loc, "OpenACC cache directive");
----------------
clementval wrote:

Why do we keep the code after the TODO?

https://github.com/llvm/llvm-project/pull/170608


More information about the flang-commits mailing list