[PATCH] D30225: [LIR] re-enable generation of memmove with runtime checks

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 1 10:08:26 PST 2017


efriedma added a comment.

> With the patch and compiling with "-mllvm -stats" the spec 2006:
>  Number of memmove's formed from loop load+stores: 129
> 
> Before the patch on spec 2006:
>  Number of memmove's formed from loop load+stores: 0

This is nice.

Do you know what the most common strides are?

> With the patch and compiling with "-mllvm -stats" the spec 2006:
>  Number of memcpy's formed from loop load+stores: 42
> 
> Before the patch on spec 2006:
>  Number of memcpy's formed from loop load+stores: 98

This looks bad.


https://reviews.llvm.org/D30225





More information about the llvm-commits mailing list