[all-commits] [llvm/llvm-project] 2d411f: Fix boxchar with firstprivate
Pranav Bhandarkar via All-commits
all-commits at lists.llvm.org
Thu Jun 5 10:01:55 PDT 2025
Branch: refs/heads/users/bhandarkar-pranav/boxchar_firstprivate_fix1
Home: https://github.com/llvm/llvm-project
Commit: 2d411fc5d24c7e3e933447307fc958b7e544490b
https://github.com/llvm/llvm-project/commit/2d411fc5d24c7e3e933447307fc958b7e544490b
Author: Pranav Bhandarkar <pranav.bhandarkar at amd.com>
Date: 2025-06-05 (Thu, 05 Jun 2025)
Changed paths:
M flang/include/flang/Optimizer/Builder/DirectivesCommon.h
M flang/lib/Optimizer/Dialect/FIRType.cpp
M flang/lib/Optimizer/OpenMP/MapInfoFinalization.cpp
M flang/lib/Optimizer/OpenMP/MapsForPrivatizedSymbols.cpp
M flang/test/Fir/convert-to-llvm-openmp-and-fir.fir
M flang/test/Lower/OpenMP/map-character.f90
M flang/test/Lower/OpenMP/optional-argument-map-2.f90
Log Message:
-----------
Fix boxchar with firstprivate
Commit: e166c85218ce493e03134d12c05d5072c3ef0aca
https://github.com/llvm/llvm-project/commit/e166c85218ce493e03134d12c05d5072c3ef0aca
Author: Pranav Bhandarkar <pranav.bhandarkar at amd.com>
Date: 2025-06-05 (Thu, 05 Jun 2025)
Changed paths:
M flang/test/Transforms/omp-map-info-finalization.fir
Log Message:
-----------
Add testcase for firstprivate boxchar fix
Commit: 93f3c522e88d85cf618a25472f42866933750739
https://github.com/llvm/llvm-project/commit/93f3c522e88d85cf618a25472f42866933750739
Author: Pranav Bhandarkar <pranav.bhandarkar at amd.com>
Date: 2025-06-05 (Thu, 05 Jun 2025)
Changed paths:
M flang/include/flang/Optimizer/Builder/DirectivesCommon.h
M flang/lib/Optimizer/OpenMP/MapInfoFinalization.cpp
M flang/lib/Optimizer/OpenMP/MapsForPrivatizedSymbols.cpp
Log Message:
-----------
Fix clang format issues
Commit: 9dc13d26a1db54821a3795871694c24699aa12d9
https://github.com/llvm/llvm-project/commit/9dc13d26a1db54821a3795871694c24699aa12d9
Author: Pranav Bhandarkar <pranav.bhandarkar at amd.com>
Date: 2025-06-05 (Thu, 05 Jun 2025)
Changed paths:
M flang/lib/Optimizer/OpenMP/MapsForPrivatizedSymbols.cpp
Log Message:
-----------
Only use fir::factory::genImplicitBoundsOps to generate bounds in MapsForPrivatizedSymbols.cpp
Commit: d438e215f868830aacccc805038f48f24ed81ee0
https://github.com/llvm/llvm-project/commit/d438e215f868830aacccc805038f48f24ed81ee0
Author: Pranav Bhandarkar <pranav.bhandarkar at amd.com>
Date: 2025-06-05 (Thu, 05 Jun 2025)
Changed paths:
M flang/lib/Optimizer/Dialect/FIRType.cpp
Log Message:
-----------
Do not handle BoxCharType in hasDynamicSize because hasDynamicSize helper is supposed
to return false for pointer-like types which boxchar is. Clients should use a "preprocessing"
helper such as dyn_cast_ptrOrBoxEleTy before calling hasDynamicSize as shown below
bool HasDynamicSize = fir::hasDynamicSize(fir::dyn_cast_ptrOrBoxEleTy(boxCharType));
Compare: https://github.com/llvm/llvm-project/compare/a470a9133c7e...d438e215f868
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list