[PATCH] D94684: [InferAttrs] Mark some library functions as willreturn.
Johannes Doerfert via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 14 13:51:02 PST 2021
jdoerfert added inline comments.
================
Comment at: llvm/lib/Transforms/Utils/BuildLibCalls.cpp:433
Changed |= setDoesNotThrow(F);
+ Changed |= setWillReturn(F);
return Changed;
----------------
nikic wrote:
> memcpy_chk is spec'd to abort on overflow, so possibly should not be willreturn?
Right.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D94684/new/
https://reviews.llvm.org/D94684
More information about the llvm-commits
mailing list