[flang] Support polymorphic inputs for CSHIFT intrinsic
authorValentin Clement <clementval@gmail.com>
Thu, 9 Feb 2023 17:20:15 +0000 (18:20 +0100)
committerValentin Clement <clementval@gmail.com>
Thu, 9 Feb 2023 17:22:11 +0000 (18:22 +0100)
commit0a86f9cbcc707b0387f330276baae736537b99da
tree9011cbd409b5774c1e14792c2ca8d896ac247d58
parent079c488c66056f7bf22c30ee280489f6c43b7658
[flang] Support polymorphic inputs for CSHIFT intrinsic

Result must carry the polymorphic type information from the array.

Reviewed By: jeanPerier

Differential Revision: https://reviews.llvm.org/D143649
flang/lib/Optimizer/Builder/IntrinsicCall.cpp
flang/test/Lower/polymorphic-temp.f90