llvm-project/llvm/test/Transforms/ArgumentPromotion
Ettore Tiotto 6b13cfe739 [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
2020-09-10 13:08:57 -04:00
..
X86 [X86][ArgumentPromotion] Allow Argument Promotion if caller and callee disagree on 512-bit vectors support if the arguments are scalar. 2020-04-24 15:47:02 -07: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 AllocaInst should store Align instead of MaybeAlign. 2020-05-16 14:53:16 -07:00
basictest.ll [BasicAA] Rename deprecated -basicaa to -basic-aa 2020-06-26 20:41:37 -07:00
byval-2.ll AllocaInst should store Align instead of MaybeAlign. 2020-05-16 14:53:16 -07:00
byval.ll AllocaInst should store Align instead of MaybeAlign. 2020-05-16 14:53:16 -07:00
chained.ll
control-flow.ll
control-flow2.ll
crash.ll
dbg.ll AllocaInst should store Align instead of MaybeAlign. 2020-05-16 14:53:16 -07:00
fp80.ll
inalloca.ll
invalidation.ll
musttail.ll
naked_functions.ll
nonzero-address-spaces.ll
pr27568.ll
pr32917.ll
pr33641_remove_arg_dbgvalue.ll [ArgPromotion] Replace all md uses of promoted values with undef. 2020-08-03 19:31:53 +01:00
profile.ll [ArgumentPromotion]: Copy function metadata after promoting arguments 2020-09-10 13:08:57 -04:00
reserve-tbaa.ll
sret.ll
tail.ll AllocaInst should store Align instead of MaybeAlign. 2020-05-16 14:53:16 -07:00
variadic.ll