[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
Sat Mar 22 21:06:34 PDT 2008


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.

Evan

On Mar 22, 2008, at 5:10 AM, Duncan Sands <baldrick at free.fr> wrote:

> Hi Chris,
>
>> implement an initial hack at a straight-line store -> memset  
>> optimization.
>> This fires dozens of times across spec and multisource, but I don't  
>> know
>> if it actually speeds stuff up.  Hopefully the testers will show  
>> something
>> nice :)
>
> in llvm-gcc, small memset's are turned into stores.  Is this going  
> to turn
> the stores back into a memset?
>
> Ciao,
>
> Duncan.
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits



More information about the llvm-commits mailing list