[all-commits] [llvm/llvm-project] 131585: [flang] Use genExprBox for the rhs when calling Po...
Valentin Clement (バレンタイン クレメン) via All-commits
all-commits at lists.llvm.org
Thu Dec 1 02:12:38 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 131585ab0fd0ed43d6fd7325ff75d6fa6e623a4b
https://github.com/llvm/llvm-project/commit/131585ab0fd0ed43d6fd7325ff75d6fa6e623a4b
Author: Valentin Clement <clementval at gmail.com>
Date: 2022-12-01 (Thu, 01 Dec 2022)
Changed paths:
M flang/include/flang/Optimizer/Dialect/FIRType.h
M flang/lib/Lower/Bridge.cpp
M flang/lib/Optimizer/Dialect/FIROps.cpp
M flang/lib/Optimizer/Dialect/FIRType.cpp
M flang/test/Lower/polymorphic.f90
Log Message:
-----------
[flang] Use genExprBox for the rhs when calling PointerAssociate for unlimited polymorphic pointer
In D139019 the assumption was made that the rhs was also the MutableBox
but this is not a constraint. Use genExprBox instead. Also the allowed
conversion in D139019 was not correct. Remoed it since it is not needed anymore.
Reviewed By: jeanPerier
Differential Revision: https://reviews.llvm.org/D139081
More information about the All-commits
mailing list