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

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 30 13:58:00 PST 2021


fhahn marked an inline comment as done.
fhahn added inline comments.


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


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