[llvm-commits] [llvm] r48680 - in /llvm/trunk: lib/Transforms/Scalar/GVN.cpp test/Transforms/GVN/form-memset.ll

Evan Cheng evan.cheng at apple.com
Sun Mar 23 15:59:01 PDT 2008


In theory, yes. We'd like for codegen to determine the best way to  
implement small memset / memcpy. But be careful with making the  
change. Not every target is handling this well at this point AFAIK.

Evan

On Mar 23, 2008, at 12:34 PM, Duncan Sands wrote:

> Hi Evan,
>
>> The idea is the turn consecutive loads and stores to memcpy and
>> memset. Codegen is responsible for turning them back into loads and
>> stores when appropriate.
>
> so should I stop llvm-gcc from emitting small memset's as a series
> of stores?
>
> Ciao,
>
> Duncan.




More information about the llvm-commits mailing list