[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
Fri May 28 09:19:25 PDT 2021


aschwaighofer added a comment.

I guess that the 'in tail position' restriction cannot really be used by frontends because it has to predict that `otherStuff()` cannot be optimized away. So it would not buy us much other than a loss of clarity ...

   if (cond) {
     swifttailcc();
     otherStuff();
     ret;
  }


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