Displaying 2 results from an estimated 2 matches for "1cbbfbff".
Did you mean:
178bfbff
2013 Nov 14
0
[LLVMdev] Vectorization of loops with conditional dereferencing
...depends on each workload, so it'll change for every different
set of arguments, which in an n-body simulation, changes dynamically.
cheers,
--renato
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131114/1cbbfbff/attachment.html>
2013 Nov 01
6
[LLVMdev] Vectorization of loops with conditional dereferencing
Nadav, Arnold, et al.,
I have a number of loops that I would like us to be able to autovectorize (common, for example, in n-body inter-particle force kernels), and the problem is that they look like this:
for (int i = 0; i < N; ++i) {
if (r[i] > 0)
v += m[i]*...;
}
where, as written, m[i] is not accessed unless the condition is true. The general problem (as is noted by the loop