[clang] [OpenACC][CIR] Implement 'data' construct lowering, lower OACC->LLVMIR (PR #135038)
Valentin Clement バレンタイン クレメン via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 9 10:03:43 PDT 2025
clementval wrote:
> 2- This patch adds the infrastructure/calls to do the OpenACCDialect->LLVM-IR lowering. Unfortunately only a handful of constructs are actually functional in the OpenACC dialect, of which data is one (hence the choice to do it here, and why I chose to do it as one patch). SO, like the Flang OpenACC implementation, attempts to lower below CIR/OpenACC Dialect will likely fail.
This translation was done way back when we started with the OpenACC dialect and it is likely not what will be supported in the long term for OpenACC codegen. The idea behind OpenACC code generation was to be done in MLIR until the LLVM IR dialect and not directly emit LLVM IR as it is done for OpenMP. SO I'm not sure it is needed to test it with your current lowering.
https://github.com/llvm/llvm-project/pull/135038
More information about the cfe-commits
mailing list