[PATCH] D104801: [MemCpyOpt] Enable memcpy optimization for NVPTX back-end.
Artem Belevich via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 24 12:35:04 PDT 2021
tra marked an inline comment as done.
tra added a comment.
> I agree that this seems overly specific and unfortunate, but I'm a competent reviewer for this area, so take that with a grain of salt.
The TTI knob can be generalized to something like "hasMemoryIntrinsicsAlwaysAvailable" which would allow decoupling availability of memcpy libcalls from usability of memcpy intrinsics without being overly specific about MemCpyOpt pass.
I'm open about any other suggestions on a better way to get the pass working for NVPTX.
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