Skip to content
Commit 6429471e authored by Yevgeny Rouban's avatar Yevgeny Rouban
Browse files

[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
parent dd48c57d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment