llvm-project/llvm/test/Transforms/ArgumentPromotion
Teresa Johnson 3ce8112dad 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
2019-02-08 17:08:27 +00:00
..
X86 Only promote args when function attributes are compatible 2019-01-16 05:15:31 +00:00
2008-02-01-ReturnAttrs.ll
2008-07-02-array-indexing.ll
2008-09-07-CGUpdate.ll
2008-09-08-CGUpdateSelfEdge.ll
aggregate-promote.ll
attrs.ll
basictest.ll
byval-2.ll
byval.ll
chained.ll
control-flow.ll
control-flow2.ll
crash.ll
dbg.ll
fp80.ll
inalloca.ll
musttail.ll [ArgumentPromotion] don't break musttail invariant PR36543 2018-03-02 00:59:27 +00:00
naked_functions.ll
nonzero-address-spaces.ll [IPO][AVR] Create new Functions in the default address space specified in the data layout 2018-12-18 09:52:52 +00:00
pr3085.ll
pr27568.ll
pr32917.ll
pr33641_remove_arg_dbgvalue.ll
profile.ll ArgumentPromotion should copy all metadata to new Function 2019-02-08 17:08:27 +00:00
reserve-tbaa.ll
sret.ll
tail.ll
variadic.ll