[LLVMdev] PR400 - alignment for LD/ST

Devang Patel dpatel at apple.com
Mon Apr 2 15:01:03 PDT 2007


On Apr 2, 2007, at 2:12 PM, Chris Lattner wrote:
>
> Devang, do you have any thoughts on this or idea of how it would  
> impact a
> vectorizor?

When you say "load is multiple of 4 bytes away from a 8-byte aligned  
data"
it is not clear whether it is 16-byte aligned or not. However, "load  
is 4 bytes
away from a 8-byte aligned data" is clear - it is aligned at 12-byte  
and not
16-byte.

However, that means, for loops this becomes "load is N bytes away
from a 8-byte aligned data" where N is dependent on IV.

-
Devang



More information about the llvm-dev mailing list