When an invoke instruction is converted to a call its profile metadata is dropped because it has incompatible format (see commit16ad6eeb94). This patch adds an attempt to convert profile data to format of the call instruction. This used to work well before the commitdcfa78a4cc. Reviewers: reames Tags: #llvm Differential Revision: https://reviews.llvm.org/D82071
115 KiB
115 KiB