The behavior when merging different ProfileSummary metadata really shouldn't be to throw an Error. This prevents users from doing LTO builds including IR files with older/different profile data applied.
Even if people think changing the behavior to Warning isn't the right approach, it would be good to move away from intentional failure.