[LLVMdev] Does loop vectorizer inquire about target's SIMD capabilities?
renato.golin at linaro.org
Thu Jan 3 14:05:35 PST 2013
On 3 January 2013 21:53, Nadav Rotem <nrotem at apple.com> wrote:
> > I am asking this because I would like to have loop vectorization
> disabled for targets that don't support SIMD instructions (for example,
> standard mips32).
> > Loop vectorization bloats the code size and prolongs compilation time
> without any improvement to performance for such targets.
> Yes. Also, notice that the loop vectorizer tries to be more conservative
> when the 'optforsize' attribute is used.
Isn't the vectorizer disabled by default? Or are you requesting that if the
user chooses -vectorize the compiler prints a warning (unused param since
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev