[PATCH] D99893: [WIP] Replace std::forward & std::move by cast expressions during Sema
John McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 5 12:46:45 PDT 2021
rjmccall added a comment.
I think a pattern-match in IRGen is probably a much more reasonable alternative if the goal is primarily to avoid the code-generation overheads at -O0 / optimization costs at -O<n>. You'd still have template instantiation overheads; I don't know how significant those really are.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D99893/new/
https://reviews.llvm.org/D99893
More information about the cfe-commits
mailing list