[llvm-commits] [llvm] r166642 - in /llvm/trunk: include/llvm/Target/TargetLowering.h include/llvm/Target/TargetTransformImpl.h lib/Target/TargetTransformImpl.cpp lib/Transforms/IPO/PassManagerBuilder.cpp lib/Transforms/Vectorize/LoopVectorize.cpp test/Transforms/LoopVectorize/cost-model.ll

Nadav Rotem nrotem at apple.com
Wed Oct 24 21:41:30 PDT 2012


On Oct 24, 2012, at 8:27 PM, Hal Finkel <hfinkel at anl.gov> wrote:

> This should correspond to an ADD + MUL? Given that we have a vectorized GEP, I'd think that we certainly don't want this to be zero.
> 

FWIW, I think that vector-geps are only a good idea for scatter/gather instructions (such as the one MIC has).   The reason is that scalar GEPs can be implemented as part of the addressing mode. 

So, I think that we should not emit vector-geps unless we have a really good reason. 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20121024/6b7d5402/attachment.html>


More information about the llvm-commits mailing list