[PATCH] D91677: Avoid transforming fortified bcopy to memmove

serge via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 17 23:02:21 PST 2020


serge-sans-paille added a comment.

The problem you're trying to solve doesn't seem specific to `bcopy`: any function with an inline definition should probably *not* be replaced, and the inlined definition should be favored. This was the spirit of that patch https://reviews.llvm.org/D71082. i wonder why your test case doesn't fall into that configuration.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D91677



More information about the llvm-commits mailing list