[PATCH] D41335: [InlineFunction] Inline vararg functions that do not access varargs.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 17 16:25:55 PST 2017


fhahn created this revision.
fhahn added reviewers: dblaikie, chandlerc, davide, efriedma.
Herald added a subscriber: eraman.

If the varargs are not accessed by a function, we can inline the
function.


https://reviews.llvm.org/D41335

Files:
  lib/Transforms/Utils/InlineFunction.cpp
  test/Transforms/Inline/inline-musttail-varargs.ll
  test/Transforms/Inline/inline-varargs.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41335.127292.patch
Type: text/x-patch
Size: 4241 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171218/6b3f7ea0/attachment.bin>


More information about the llvm-commits mailing list