[PATCH] D88335: [BuildLibCalls] Add noalias for strcat and stpcpy
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 25 13:34:38 PDT 2020
efriedma added a comment.
It's conceivable that we might not want to mark strcpy/stpcpy etc. noalias for the same reason llvm.memcpy isn't noalias: standard implementation tolerate exact overlap, and the benefit from forbidding that is small. (Actually, I'm not sure any optimizations benefit at the moment.) Maybe that's being overconservative, though.
(This doesn't apply to strcat.)
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D88335/new/
https://reviews.llvm.org/D88335
More information about the llvm-commits
mailing list