[LLVMdev] Does loop vectorizer inquire about target's SIMD capabilities?

Akira Hatanaka ahatanak at gmail.com
Thu Jan 3 13:48:21 PST 2013

Nadav (or anyone who is familiar with the loop vectorizer),

Does the current loop vectorizer inquire about the SIMD capabilities of the
target architecture when it decides whether it is profitable to vectorize a
loop? 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130103/ab782fa5/attachment.html>

More information about the llvm-dev mailing list