[PATCH] Add 'musttail' marker to call instructions

Reid Kleckner rnk at google.com
Mon Mar 31 18:30:33 PDT 2014


Hi nicholas, chandlerc,

This is similar to the 'tail' marker, except that it guarantees that
tail call optimization will occur.  It also comes with convervative IR
verification rules that ensure that tail call optimization is possible.

http://llvm-reviews.chandlerc.com/D3240

Files:
  docs/LangRef.rst
  include/llvm/Bitcode/LLVMBitCodes.h
  include/llvm/IR/CallSite.h
  include/llvm/IR/Instructions.h
  lib/AsmParser/LLLexer.cpp
  lib/AsmParser/LLParser.cpp
  lib/AsmParser/LLParser.h
  lib/AsmParser/LLToken.h
  lib/Bitcode/Reader/BitcodeReader.cpp
  lib/Bitcode/Writer/BitcodeWriter.cpp
  lib/IR/AsmWriter.cpp
  lib/IR/Verifier.cpp
  lib/Target/AArch64/AArch64ISelLowering.cpp
  lib/Target/ARM/ARMISelLowering.cpp
  lib/Target/ARM64/ARM64ISelLowering.cpp
  lib/Target/Mips/MipsISelLowering.cpp
  lib/Target/PowerPC/PPCISelLowering.cpp
  lib/Target/X86/X86ISelLowering.cpp
  test/Bitcode/tailcall.ll
  test/CodeGen/X86/musttail.ll
  test/Verifier/musttail-invalid.ll
  test/Verifier/musttail-valid.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3240.1.patch
Type: text/x-patch
Size: 24815 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140331/91a3700c/attachment.bin>


More information about the llvm-commits mailing list