[PATCH] D107872: [SimplifyLibCalls] propagate tail/musttail/notail flags on CallInsts

Nick Desaulniers via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 11 16:55:23 PDT 2021


nickdesaulniers updated this revision to Diff 378826.
nickdesaulniers marked 2 inline comments as done.
nickdesaulniers edited the summary of this revision.
nickdesaulniers added a comment.

- avoid transforms when musttail and not replacing a call with a new call, add 11 new musttail tests


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D107872

Files:
  llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
  llvm/test/CodeGen/X86/memset-nonzero.ll
  llvm/test/Transforms/InstCombine/cabs-array.ll
  llvm/test/Transforms/InstCombine/cabs-discrete.ll
  llvm/test/Transforms/InstCombine/fortify-folding.ll
  llvm/test/Transforms/InstCombine/memcpy-1.ll
  llvm/test/Transforms/InstCombine/memcpy_chk-1.ll
  llvm/test/Transforms/InstCombine/memmove-1.ll
  llvm/test/Transforms/InstCombine/memmove_chk-1.ll
  llvm/test/Transforms/InstCombine/mempcpy.ll
  llvm/test/Transforms/InstCombine/memset_chk-1.ll
  llvm/test/Transforms/InstCombine/objsize.ll
  llvm/test/Transforms/InstCombine/pow-exp.ll
  llvm/test/Transforms/InstCombine/pow_fp_int.ll
  llvm/test/Transforms/InstCombine/pow_fp_int16.ll
  llvm/test/Transforms/InstCombine/stpcpy-1.ll
  llvm/test/Transforms/InstCombine/stpcpy_chk-1.ll
  llvm/test/Transforms/InstCombine/strcpy-1.ll
  llvm/test/Transforms/InstCombine/strcpy_chk-1.ll
  llvm/test/Transforms/InstCombine/strncpy-1.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107872.378826.patch
Type: text/x-patch
Size: 96707 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211011/84243738/attachment-0001.bin>


More information about the llvm-commits mailing list