[llvm-dev] [LLVM] (RFC) Addition/Support of new Vectorization Pragmas in LLVM
Doerfert, Johannes via llvm-dev
llvm-dev at lists.llvm.org
Mon Aug 19 08:30:54 PDT 2019
Hi Terry,
I'm curious.
> * Primarily ivdep allows ambiguous dependencies to be ignored, examples:
> * p[i] = q[j]
> * a[ix[i]] = b[iy[i]]
> * a[ix[i]] += 1.0
>
> * ivdep still requires automatic detection of reductions, including
> multiple homogeneous reductions on a single variable, examples:
> * x = x + a[i]
> * x = x + a[i]; if ( c[i] > 0.0 ) { x = x + b[i] }
How do you define the difference between
a[ix[i]] += 1.0
and
x += 1.0
as you require reduction detection for the latter but seem to ignore the
(histogram) reduction dependences for the former.
Thanks,
Johannes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190819/3aaa3187/attachment.sig>
More information about the llvm-dev
mailing list