[LLVMdev] Alias analysis and instruction level parallelism

Dan Gohman gohman at apple.com
Thu Apr 3 12:14:12 PDT 2008


On Apr 3, 2008, at 12:31 AM, Pertti Kellomäki wrote:
> Florian Brandner wrote:
>> an other option would be to save the GEP instructions and provide a  
>> mapping
>> between them and the lowered arithmetic. it's not very clean but it  
>> would be
>> safe, and probably work well.
>
> In my opinion this seems like the obvious way to go.

I think this is trickier than it sounds; the reason GEPs are lowered  
is to
allow strength-reduction and other things to do transformations on them.
It would require those passes to know how to update the mapping.

Dan





More information about the llvm-dev mailing list