[PATCH] D107872: [SimplifyLibCalls] propagate tail flag on FORITIFY calls

Nick Desaulniers via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 4 11:05:31 PDT 2021


nickdesaulniers added a comment.

In D107872#2940298 <https://reviews.llvm.org/D107872#2940298>, @efriedma wrote:

> On a sort-of-related note, should we avoid optimizing musttail and/or notail calls here?

Yes, looks like

`New->setTailCallKind(Old.getTailCallKind());` would be better.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D107872



More information about the llvm-commits mailing list