[IR] Convert profile metadata in createCallMatchingInvoke()
When an invoke instruction is converted to a call its profile metadata is dropped because it has incompatible format (see commit 16ad6eeb). This patch adds an attempt to convert profile data to format of the call instruction. This used to work well before the commit dcfa78a4. Reviewers: reames Tags: #llvm Differential Revision: https://reviews.llvm.org/D82071
Loading
Please sign in to comment