When hlfir.assign is lowered into simple load/store,
we may still need to finalize the LHS.
The patch passes needFinalization to genScalarAssignment
for LHS of any derived type, so some Destroy calls
might be redundant. They can be removed later by propagating/deducing
IsFinalizable information about the LHS type.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo