[PATCH] D36059: [memops] Add a new pass to inject fast-path code for specific library function calls.

Amara Emerson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 1 02:01:08 PDT 2017


aemerson added a comment.

Instead of generating loop IR for the fast path, how about creating a versioned memcpy/memset with the constrained parameters guarded under the condition test? That way, in the back-end the exact preferred optimal code can be generated, allowing for unrolled loop bodies specific to individual targets.


https://reviews.llvm.org/D36059





More information about the llvm-commits mailing list