[LLVMdev] loop fusion

Renato Golin rengolin at systemcall.org
Wed Sep 8 12:13:27 PDT 2010


On 8 September 2010 18:21, Devang Patel <dpatel at apple.com> wrote:
> Andrew,
>
> There is not any transformation in LLVM that does loop fusion. I do not of anyone who is working on this. If you're interested to work on it then it'd be great!

Hi Devang,

Do you know if any pass is taking metadata to avoid un-optimizing?
Loop fusion can make it worse if you have strong locality (two
completely separate big memory access) in terms of cache miss in
small-memory platforms. So, would be good if the front-end could pass
on some information down the codegen? That could also help
implementing union types...

I know it's not good to depend on metadata (as for unions), but it
could help some architectures to generate better code, rather than
just "correct" code.


-- 
cheers,
--renato

http://systemcall.org/

Reclaim your digital rights, eliminate DRM, learn more at
http://www.defectivebydesign.org/what_is_drm



More information about the llvm-dev mailing list