[PATCH] D71374: Improve support of GNU mempcpy

serge via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 13 04:18:00 PST 2019


serge-sans-paille added a comment.

In D71374#1783245 <https://reviews.llvm.org/D71374#1783245>, @xbolva00 wrote:

> LLVM already converts mempcpy to memcpy..


Indeed, the clang version I was using as base reference was clang-9, and the mempcpy optimisation at IR level got introduced after that.
Nevertheless, this patch does much more than lowering mempcpy, it also triggers new warnings, so It's still useful that clang understands it.

@xbolva00 should I remove the lowering part and leave it to llvm?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D71374/new/

https://reviews.llvm.org/D71374





More information about the cfe-commits mailing list