Displaying 3 results from an estimated 3 matches for "72abcaff".
2013 Jul 02
2
[LLVMdev] [Loop Vectorize] Question on -O3
Hi,
When I use "-loop-vectorize" to vectorize a loop as below:
//====================================
void bar(float *A, float* B, float K, int start, int end) {
for (int i = start; i < end; ++i)
A[i] *= B[i] + K;
}
//====================================
First, I use "*clang -O0 -emit-llvm -S bar.c -o bar.l*" to emit the
.l file.
Then I use "*opt
2013 Jul 02
0
[LLVMdev] [Loop Vectorize] Question on -O3
Hi maxs,
On 02/07/13 09:49, maxs wrote:
> Hi,
> When I use "-loop-vectorize" to vectorize a loop as below:
> //====================================
> void bar(float *A, float* B, float K, int start, int end) {
> for (int i = start; i < end; ++i)
> A[i] *= B[i] + K;
> }
> //====================================
> First, I use "*clang -O0
2013 Jul 02
2
[LLVMdev] [Loop Vectorize] Question on -O3
...And maybe a way to
force the dependencies to run regardless of the On level. Not sure how this
dependency system would be constructed, though.
--renato
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130702/72abcaff/attachment.html>