diff options
author | Teresa Johnson <tejohnson@google.com> | 2019-02-08 17:08:27 +0000 |
---|---|---|
committer | Teresa Johnson <tejohnson@google.com> | 2019-02-08 17:08:27 +0000 |
commit | 3ce8112dad683737d415abb0fe33a2e442e29c32 (patch) | |
tree | 7221f5415145098d35c9672149f33777e98767d7 /clang/lib | |
parent | 41a1792b15830ecaf1a78f5fd9689c75ca3af71d (diff) | |
download | bcm5719-llvm-3ce8112dad683737d415abb0fe33a2e442e29c32.tar.gz bcm5719-llvm-3ce8112dad683737d415abb0fe33a2e442e29c32.zip |
ArgumentPromotion should copy all metadata to new Function
Summary:
ArgumentPromotion had code to specifically move the dbg metadata over to
the new function, but other metadata such as the function_entry_count
!prof metadata was not. Replace code that moved dbg metadata with a call
to copyMetadata. The old metadata is automatically removed when the old
Function is removed.
Reviewers: davidxl
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D57846
llvm-svn: 353537
Diffstat (limited to 'clang/lib')
0 files changed, 0 insertions, 0 deletions