[PATCH] Declare that musttail calls in variadic functions forward the ellipsis

Reid Kleckner rnk at google.com
Wed Aug 13 17:39:24 PDT 2014


Hi chandlerc, nlewycky,

There is no functionality change here except in the way we assemble and
dump musttail calls in variadic functions. There's really no need to
separate out the bits for musttail and "is forwarding varargs" on call
instructions. A musttail call by definition has to forward the ellipsis
or it would fail verification.

http://reviews.llvm.org/D4892

Files:
  docs/LangRef.rst
  lib/AsmParser/LLParser.cpp
  lib/AsmParser/LLParser.h
  lib/IR/AsmWriter.cpp
  test/Assembler/musttail-invalid-1.ll
  test/Assembler/musttail-invalid-2.ll
  test/Assembler/musttail.ll
  test/Transforms/Inline/inline-musttail-varargs.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4892.12474.patch
Type: text/x-patch
Size: 6841 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140814/da37dbfc/attachment.bin>


More information about the llvm-commits mailing list