[LLVMdev] Decouple LoopVectorizer from O3
Nadav Rotem
nrotem at apple.com
Wed Apr 10 17:48:58 PDT 2013
Hi Anadi,
In the file PassManagerBuilder.cpp you can change the lines below to get rid of the O3 restriction.
189 if (LoopVectorize && OptLevel > 2)
190 MPM.add(createLoopVectorizePass());
Nadav
On Apr 10, 2013, at 5:39 PM, Anadi Mishra <reachanadi at gmail.com> wrote:
> Hello,
>
> I am trying out the LoopVectorizer(LV) pass and would like to decouple it from O3 which is currently required to run LV. I want to do this because I want to understand the behaviour of LV by trying simple loops but the O3 mostly optimises away the loop body.
>
> Any ideas would be appreciated.
>
> Best,
> Anadi.
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130410/cfe55fc7/attachment.html>
More information about the llvm-dev
mailing list