[flang-commits] [flang] [flang][OpenMP] Support using copyprivate with fir.boxchar arguments (PR #144092)
Pranav Bhandarkar via flang-commits
flang-commits at lists.llvm.org
Mon Jun 16 11:05:58 PDT 2025
================
@@ -838,7 +861,8 @@ bool ClauseProcessor::processCopyprivate(
// In these cases to retrieve the appropriate !fir.ref<!fir.box<...>> to
// access the data we need we must perform an alloca and then store to it
// and retrieve the data from the new alloca.
- if (mlir::isa<fir::BaseBoxType>(symType)) {
+ if (mlir::isa<fir::BaseBoxType>(symType) ||
----------------
bhandarkar-pranav wrote:
Nit -> Please update the comment above to indicate we are handling boxchars also. The `!fir.ref<!fir.box<...>>` in the comment is not complete anymore.
https://github.com/llvm/llvm-project/pull/144092
More information about the flang-commits
mailing list