llvm-project
8650c801 - [flang][OpenMP] Do not skip privatization of linear variable if it is OmpPreDetermined (#144315)

Commit
176 days ago
[flang][OpenMP] Do not skip privatization of linear variable if it is OmpPreDetermined (#144315) Current implementation of linear clause skips privatisation of all linear variables during the FIR generation phase, since linear variables are handled in their entirety by the OpenMP IRBuilder. However, "implicit" linear variables (like OmpPreDetermined) cannot be skipped, since FIR generation requires privatized symbols. This patch adds checks to skip the same. Fixes https://github.com/llvm/llvm-project/issues/142935
Author
Parents
Loading