Unverified Commit f857bef5 authored by Slava Zakharin's avatar Slava Zakharin Committed by GitHub
Browse files

[flang][hlfir] Shallow copy elemental results with allocatable components. (#68040)

To avoid the overhead of deallocating allocatable components of the
elemental temporary result on every iteration of the elemental operation,
we can use a shallow copy instead of deep-copy assign.
parent e0cd781f
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment