[PATCH] #pragma vectorize

Nadav Rotem nrotem at apple.com
Tue Apr 22 10:44:21 PDT 2014


On Apr 22, 2014, at 10:38 AM, Hal Finkel <hfinkel at anl.gov> wrote:

> Okay, this is reasonable, but I'm still not sure it should be in a pragma called 'vectorize'. This particular transformation can be applied (and more often than not is applied) to scalar code. Strictly speaking it is an optimization that exposes ILP, and has little to do with vectorization.

This is a good point. Maybe ILP would be a better name?

> 
> That having been said, the fact that the correctness model for this 'widening' operation is similar (although not identical) to that for vectorization, and thus implemented by the vectorizer, is not facet of the implementation we should expose to the user. However, pragma widen is fine with me too.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140422/ef484490/attachment.html>


More information about the cfe-commits mailing list