[all-commits] [llvm/llvm-project] 942bc1: [flang] Rebox the polymorphic argument in merge in...
Valentin Clement (バレンタイン クレメン) via All-commits
all-commits at lists.llvm.org
Wed Mar 15 08:32:44 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 942bc18d203a96234bc92a0ce41e8f38970a6462
https://github.com/llvm/llvm-project/commit/942bc18d203a96234bc92a0ce41e8f38970a6462
Author: Valentin Clement <clementval at gmail.com>
Date: 2023-03-15 (Wed, 15 Mar 2023)
Changed paths:
M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
M flang/test/Lower/polymorphic-temp.f90
Log Message:
-----------
[flang] Rebox the polymorphic argument in merge intrinsic
When fsource or tsource is not polymorphic, the result is not
polymorphic. Rebox the polymoprhic arguement so the dynamic
type of the result is correct.
Reviewed By: PeteSteinfeld
Differential Revision: https://reviews.llvm.org/D146133
More information about the All-commits
mailing list