[PATCH] D104801: [MemCpyOpt] Enable memcpy optimizations unconditionally.

Hendrik Greving via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 19 19:52:47 PDT 2021


hgreving added a comment.

Besides that this patch created the intrinsics llvm.memset which in our target was unsupported, it also created pointers that may be invalid on the target, e.g. i8 addrspace(X)* where addrspace(X) only supports vector memory. While this is probably all solvable, please consider adding TTI switches for targets to disable this optimization (e.g. for the intrinsics).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D104801



More information about the llvm-commits mailing list