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

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 23 12:12:50 PDT 2021


nikic added a comment.

My best guess here is that this exists to guard against introduction of memset/memcpy where none existed before. MemCpyOpt mostly does optimizations that remove/replace memcpys/memsets, but there are two that convert loads/stored into memcpy/memset. Possibly we should only be guarding those two and let everything else happen?

Not sure who would be familiar with this area.


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