[all-commits] [llvm/llvm-project] 6b13cf: [ArgumentPromotion]: Copy function metadata after ...

etiotto via All-commits all-commits at lists.llvm.org
Thu Sep 10 10:10:29 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6b13cfe7399b0aba726873f807ddfcdd9f967563
      https://github.com/llvm/llvm-project/commit/6b13cfe7399b0aba726873f807ddfcdd9f967563
  Author: Ettore Tiotto <etiotto at ca.ibm.com>
  Date:   2020-09-10 (Thu, 10 Sep 2020)

  Changed paths:
    M llvm/lib/Transforms/IPO/ArgumentPromotion.cpp
    M llvm/test/Transforms/ArgumentPromotion/profile.ll

  Log Message:
  -----------
  [ArgumentPromotion]: Copy function metadata after promoting arguments

The argument promotion pass currently fails to copy function annotations
over to the modified function after promoting arguments.
This patch copies the original function annotation to the new function.

Reviewed By: fhann

Differential Revision: https://reviews.llvm.org/D86630




More information about the All-commits mailing list