[PATCH] D86025: [CodeGen] Respect libfunc availability when lowering intrinsic memcpy
Martin Storsjö via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Aug 16 23:17:03 PDT 2020
mstorsjo added a comment.
In D86025#2220435 <https://reviews.llvm.org/D86025#2220435>, @aemerson wrote:
> If we can’t lower it into a libcall, what *can* we do with it beyond optimizing into an unrolled in-line sequence? Just generate a whole memcpy implementation inline?
I guess those are the options, yeah.
For the case I'm looking at, code with an explicit struct assignment without the code calling memcpy or anything equivalent, and building it with -fno-builtin, I think the expectation is to just expand it into an inline memcpy, however long that sequence might be.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86025/new/
https://reviews.llvm.org/D86025
More information about the llvm-commits
mailing list