1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/test/Transforms/FunctionImport
Piotr Padlewski 2ede910872 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

llvm-svn: 278432
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