[PATCH] D102612: SwiftTailCC: teach verifier musttail rules applicable to this CC.

Tim Northover via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 21 04:52:41 PDT 2021


t.p.northover updated this revision to Diff 346987.
t.p.northover added a comment.

Add error message to x86 backend if it can't honour a `musttail` call. It seems from the (presumably original) `musttail.ll` test that it's intended to override the `disable-tail-calls` function attribute, so I had to teach SelectionDAGBuilder about that too.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D102612/new/

https://reviews.llvm.org/D102612

Files:
  llvm/docs/LangRef.rst
  llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
  llvm/lib/IR/Verifier.cpp
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/lib/Target/ARM/ARMISelLowering.cpp
  llvm/lib/Target/X86/X86ISelLowering.cpp
  llvm/test/CodeGen/AArch64/swifttail-call.ll
  llvm/test/CodeGen/X86/tailcall-swifttailcc.ll
  llvm/test/Verifier/swifttailcc-musttail-valid.ll
  llvm/test/Verifier/swifttailcc-musttail.ll
  llvm/test/Verifier/tailcc-musttail.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102612.346987.patch
Type: text/x-patch
Size: 24846 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210521/907c31bd/attachment.bin>


More information about the llvm-commits mailing list