[PATCH] D114793: [BuildLibCalls] Add argmemonly, writeonly, nounwind to memset_chk.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 1 04:00:21 PST 2021


fhahn added inline comments.


================
Comment at: llvm/lib/Transforms/Utils/BuildLibCalls.cpp:464
     return Changed;
   case LibFunc_memcpy_chk:
     Changed |= setDoesNotThrow(F);
----------------
fhahn wrote:
> xbolva00 wrote:
> > Maybe also improve this?
> Im planning on a similar treatment for memcpy_chk if the memset_chk changes make sense :)
I put up D114863


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D114793



More information about the llvm-commits mailing list