llvm/test/Transforms/FunctionImport
Piotr Padlewski fb2a7f990d Don't import variadic functions
Summary:
This patch adds IsVariadicFunction bit to summary in order
to not import variadic functions. Inliner doesn't inline
variadic functions because it is hard to reason about it.

This one small fix improves Importer by about 16%
(going from 86% to 100% of imported functions that are
inlined anywhere)
on some spec benchmarks like 'int' and others.

Reviewers: eraman, mehdi_amini, tejohnson

Subscribers: mehdi_amini, llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@278432 91177308-0d34-0410-b5e6-96231b3b80d8
2016-08-11 22:13:57 +00:00
..
Inputs Don't import variadic functions 2016-08-11 22:13:57 +00:00
adjustable_threshold.ll Move summary creation out of llvm-as into opt 2016-04-12 21:35:18 +00:00
funcimport_alias.ll Move summary creation out of llvm-as into opt 2016-04-12 21:35:18 +00:00
funcimport_debug.ll [PR27284] Reverse the ownership between DICompileUnit and DISubprogram. 2016-04-15 15:57:41 +00:00
funcimport.ll Don't import variadic functions 2016-08-11 22:13:57 +00:00
inlineasm.ll [ThinLTO] Prevent importing of "llvm.used" values 2016-04-20 14:39:45 +00:00