[PATCH 2/3] ARM cost model: Address computation in vector mem ops not free

Nadav Rotem nrotem at apple.com
Fri Feb 1 09:44:07 PST 2013


The cost model part LGTM.  The Loop Vectorizer does not use the cost model analysis itself because it needs to check the costs of instructions that have not yet been generated. We need to change the loop vectorizer cost model to use this API. It could be a bit tricky because in some cases we don't use the original GEP because we widen the load/store. 

On Feb 1, 2013, at 8:00 AM, Renato Golin <renato.golin at linaro.org> wrote:

> LGTM.
> 
> --renato
> 
> 
> On 1 February 2013 15:26, Arnold Schwaighofer <aschwaighofer at apple.com> wrote:
> Adds a function to target transform info to query for the cost of address
> computation. The cost model analysis pass now also queries this interface.
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130201/96e91edb/attachment.html>


More information about the llvm-commits mailing list