[flang-commits] [flang] [llvm] [flang][OpenMP] Try to unify induction var privatization for OMP regions. (PR #91116)

Leandro Lupori via flang-commits flang-commits at lists.llvm.org
Tue May 14 08:53:58 PDT 2024


================
@@ -1489,6 +1488,7 @@ genSimdOp(Fortran::lower::AbstractConverter &converter,
           Fortran::lower::pft::Evaluation &eval, mlir::Location loc,
           const List<Clause> &clauses) {
   fir::FirOpBuilder &firOpBuilder = converter.getFirOpBuilder();
+  symTable.pushScope();
----------------
luporl wrote:

Why is this needed now? To avoid name clashes, now that pre-determined variables are privatized by DataSharingProcessor?

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


More information about the flang-commits mailing list