[all-commits] [llvm/llvm-project] 642947: [IR] Convert profile metadata in createCallMatchin...

Yevgeny Rouban via All-commits all-commits at lists.llvm.org
Fri Jun 19 22:14:53 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6429471e8b766b841644f224b5c6525a9b3227c9
      https://github.com/llvm/llvm-project/commit/6429471e8b766b841644f224b5c6525a9b3227c9
  Author: Yevgeny Rouban <yrouban at azul.com>
  Date:   2020-06-20 (Sat, 20 Jun 2020)

  Changed paths:
    M llvm/lib/Transforms/Utils/Local.cpp
    M llvm/test/Transforms/SimplifyCFG/invoke_unwind.ll

  Log Message:
  -----------
  [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




More information about the All-commits mailing list