Perform a rebox instead of a convert operation when the input type is
polymorphic and the output type is a boxed derived-type.
Details
Details
Diff Detail
Diff Detail
- Repository
 - rG LLVM Github Monorepo
 
Paths 
  |  Differential  D138831  
[flang] Handle polymorphic argument when expecting boxed derived-type ClosedPublic Authored by clementval on Nov 28 2022, 9:45 AM. 
Details Summary Perform a rebox instead of a convert operation when the input type is 
Diff Detail 
 Event TimelineHerald added projects: Restricted Project, Restricted Project.  ·  View Herald TranscriptNov 28 2022, 9:45 AM This revision is now accepted and ready to land.Nov 28 2022, 10:43 AM Closed by commit rG545db9c41fba: [flang] Handle polymorphic argument when expecting boxed derived-type (authored by clementval).  ·  Explain WhyNov 28 2022, 11:56 AM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 478314 flang/lib/Optimizer/Builder/FIRBuilder.cpp
 flang/test/Lower/polymorphic.f90
  | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||