[PATCH] D18940: Loop vectorization with uniform load

Elena Demikhovsky via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 12 07:32:57 PDT 2016


delena added a comment.

> I don't mean the actual number.

>  Did we assume that we needed VF number of loads for each element rather than a single one with a shuffle/broadcast?


Yes
The address computation cost is taken as VF * getAddressComputationCost(Ty, IsComplex)
IsComplex is true.

> Why not, if we know that it will be hoisted out?


I can change the cost to 0 and add comments.


Repository:
  rL LLVM

http://reviews.llvm.org/D18940





More information about the llvm-commits mailing list