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

Renato Golin renato.golin at linaro.org
Fri Feb 1 11:39:45 PST 2013


On 1 February 2013 18:07, Nadav Rotem <nrotem at apple.com> wrote:

> The problem is that we decide on the kind of GEP to use only when we
> vectorize the load/stores.  This happens in vectorizeMemoryInstruction. I
> think that we need to fix this in
> LoopVectorizationCostModel::getInstructionCost in the load/store switch
> cases. We have code for checking if the load/store is wide or if it is
> scalarized.
>

Good point! Shouldn't be too hard, though.

cheers,
--renato
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130201/fecdc0d3/attachment.html>


More information about the llvm-commits mailing list