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

Nick Desaulniers via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 12 14:02:19 PDT 2021


nickdesaulniers added a comment.

> So this fixes https://bugs.llvm.org/show_bug.cgi?id=46734

It does not (yet, but could+should), probably because of the case that @efriedma describes above.  I may want to do:

  if (CI->isTailCall())
        SimplifiedCI->setTailCall();

within each `optimize*` method.


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