[PATCH] D29373: NVPTX: Extract mem intrinsic expansions into utilities

Justin Lebar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 8 09:06:06 PST 2017


jlebar accepted this revision.
jlebar added a comment.
This revision is now accepted and ready to land.

> NVPTX pass uses the memcpy function for the questionable handling of aggregate copies

lol, but tell me what you really think.  :)



================
Comment at: include/llvm/Transforms/Utils/LowerMemIntrinsics.h:11
+// Lower memset, memcpy, memmov intrinsics to loops when the size is large or is
+// not a compile-time constant for targets without library support.
+//
----------------
Reading it again, there are still some vestiges of where this file came from in this comment.  Maybe

> Utilities to convert memset, memcpy, and memmov to loops (e.g. for targets without library support) and to create a memcpy loop from whole cloth.


https://reviews.llvm.org/D29373





More information about the llvm-commits mailing list