[llvm-dev] Invoke loop vectorizer

Andrey Bokhanko via llvm-dev llvm-dev at lists.llvm.org
Fri Aug 12 04:06:52 PDT 2016


Hi Xiaochu,

Clang uses -O0 by default, that doesn't run any optimizations. Try
supplying -O1 or higher.

Yours,
Andrey


On Fri, Aug 12, 2016 at 1:04 AM, Xiaochu Liu via llvm-dev <
llvm-dev at lists.llvm.org> wrote:

> Hi there ,
>
> I use clang-cl /Qvec test.c to compile the code. But the pass
> LoopVectorizer is never invoked.
>
> I was wondering if this is sufficient to enable auto vectorizer?
>
> Thanks,
> Xiaochu
>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160812/29638046/attachment-0001.html>


More information about the llvm-dev mailing list