mirror of
https://github.com/intel/llvm.git
synced 2026-01-26 03:56:16 +08:00
When `AssignOp` is used with LHS that is a compiler generated temporary special care must be taken to initialize the temporary and avoid finalizations of its components. This change-set adds optional `temporary_lhs` attribute for `AssignOp` to convey this information to HLFIR-to-FIR conversion pass. Currently, this results in calling `AssignTemporary` runtime for doing the assignment. Reviewed By: jeanPerier, tblah Differential Revision: https://reviews.llvm.org/D152482