[all-commits] [llvm/llvm-project] a470a9: Do not handle BoxCharType in hasDynamicSize becaus...
Pranav Bhandarkar via All-commits
all-commits at lists.llvm.org
Tue Jun 3 11:50:27 PDT 2025
Branch: refs/heads/users/bhandarkar-pranav/boxchar_firstprivate_fix1
Home: https://github.com/llvm/llvm-project
Commit: a470a9133c7e09d061aa7331b78f508b9243a6be
https://github.com/llvm/llvm-project/commit/a470a9133c7e09d061aa7331b78f508b9243a6be
Author: Pranav Bhandarkar <pranav.bhandarkar at amd.com>
Date: 2025-06-03 (Tue, 03 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));
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