diff options
author | Yevgeny Rouban <yrouban@azul.com> | 2020-06-20 12:06:01 +0700 |
---|---|---|
committer | Yevgeny Rouban <yrouban@azul.com> | 2020-06-20 12:10:31 +0700 |
commit | 6429471e8b766b841644f224b5c6525a9b3227c9 (patch) | |
tree | 1cfc518b328987df01178c3b666000dfd583f6b2 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | dd48c57da35e069c739361ce822b98c6e42f555e (diff) | |
download | llvm-6429471e8b766b841644f224b5c6525a9b3227c9.zip llvm-6429471e8b766b841644f224b5c6525a9b3227c9.tar.gz llvm-6429471e8b766b841644f224b5c6525a9b3227c9.tar.bz2 |
[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 16ad6eeb94ff).
This patch adds an attempt to convert profile data to
format of the call instruction. This used to work well
before the commit dcfa78a4ccec.
Reviewers: reames
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D82071
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions