HomePhabricator

Fix the move constructor of MMI to move MachineFunctions map

Authored by sridhar_gopinath on Jul 24 2020, 10:44 AM.

Description

Fix the move constructor of MMI to move MachineFunctions map

The move constructor of MachineModuleInfo currently does not copy the
MachineFunctions map. This commit fixes this issue.

Patch by Sridhar Gopinath. Thanks!

Differential Revision: https://reviews.llvm.org/D84274

Details