Use typed assignment in Atomic Write lowering to better handle
type conversions of allowed types.
Note: We should make similar changes for other constructs in
later patches.
Differential D154163
[Flang][OpenMP] Use typed assignment in Atomic Write lowering kiranchandramohan on Jun 29 2023, 3:35 PM. Authored by
Details Use typed assignment in Atomic Write lowering to better handle Note: We should make similar changes for other constructs in
Diff Detail
Event TimelineComment Actions Can you help me understand this a little bit? Typed assignment in this context is basically helping for an intrinsic conversion from an integer "0" to a floating point variable "r2". Is that it? And we should put up patches for the same in atomic.update and atomic.capture lowerings right? Comment Actions Yes, that is correct. It helps in the conversion (or creating the constant with the correct type) here. Yes, we should doe the same for update and capture lowerings. |