[all-commits] [llvm/llvm-project] 880b37: [flang] Handle pointer assignment with polymorphic...
Valentin Clement (バレンタイン クレメン) via All-commits
all-commits at lists.llvm.org
Tue Nov 1 13:46:49 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 880b37f175c7f7ce9e5684ecb2713de66f79cec7
https://github.com/llvm/llvm-project/commit/880b37f175c7f7ce9e5684ecb2713de66f79cec7
Author: Valentin Clement <clementval at gmail.com>
Date: 2022-11-01 (Tue, 01 Nov 2022)
Changed paths:
M flang/lib/Lower/Allocatable.cpp
M flang/lib/Lower/Bridge.cpp
M flang/lib/Lower/ConvertExpr.cpp
M flang/lib/Optimizer/Builder/MutableBox.cpp
M flang/test/Lower/allocatable-polymorphic.f90
M flang/test/Lower/nullify-polymoprhic.f90
A flang/test/Lower/pointer-association-polymorphic.f90
Log Message:
-----------
[flang] Handle pointer assignment with polymorphic entities
This patch forces pointer and allocatable polymorphic entities to be
tracked as descriptor. It also enables the pointer assignment between
polymorphic entities. Pointer association between a non-polymorphic
pointer and a polyrmophic target might require some more work as
per 10.2.2.3 point 1.
Reviewed By: PeteSteinfeld
Differential Revision: https://reviews.llvm.org/D137150
More information about the All-commits
mailing list