On 06/23/2017 09:39 PM, hameeza ahmed wrote:> thank you;
> did with this;
> -force-vector-interleave.
>
> What is the difference between -loop-vectorize and -O3 in opt?
> I am using O3 its fine?
-O3 enables a bunch of different optimizations, the loop vectorizer
included.
-Hal
>
> On Sat, Jun 24, 2017 at 7:33 AM, Hal Finkel <hfinkel at anl.gov
> <mailto:hfinkel at anl.gov>> wrote:
>
> As I recall, you can use #pragma clang loop unroll(n) interleave(m)
>
> To use an unrolling factor of n and an interleaving factor of m.
>
> -Hal
>
> On 06/23/2017 09:30 PM, hameeza ahmed wrote:
>> how to set loop unroll factor in llvm?
>>
>>
>
> --
> Hal Finkel
> Lead, Compiler Technology and Programming Languages
> Leadership Computing Facility
> Argonne National Laboratory
>
>
--
Hal Finkel
Lead, Compiler Technology and Programming Languages
Leadership Computing Facility
Argonne National Laboratory
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20170623/62c9f0b8/attachment-0001.html>