[PATCH] D103275: Update musttail verification to check all swiftasync->swiftasync tail calls.

Arnold Schwaighofer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat May 29 06:23:13 PDT 2021


aschwaighofer added a comment.

@efriedma It is critical for Swift that ‘swifttailcc’ function calls in tail position be executed in constant stack space. Guaranteed tail call opt was the reason why we added this convention.

We want to guarantee that such calls coming out of the front end  be and stay optimizable hence we want to enforce that a call in tail cal position is annotated with musttail coming out of the frontends and that this property is maintained throughout optimization.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D103275



More information about the llvm-commits mailing list