[PATCH] D104801: [MemCpyOpt] Enable memcpy optimization for NVPTX back-end.

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 30 15:48:40 PDT 2021


arsenm added a comment.

I've always hated how TLI acts as if the llvm intrinsics and libc/libm functions are interchangeable. TLI should have no bearing on the introduction of an intrinsic call which can be easily lowered without relying on a host library call. We should just always canonicalize to llvm.memcpy and let the backend expand it if the target needs to later


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