<div dir="ltr"><div><div>Renato, All,<br><br></div><div>As was already noted, a lot of the things you want to add overlap with "omp simd" pragma -- which is a part of OpenMP 4.0 standard and already implemented in clang (committed to <a href="http://clang-omp.github.com">clang-omp.github.com</a>).<br>
<br>It is relatively independent from the rest of OpenMP, so we can commit its implementation separately.<br><br></div><div>This might provide exactly the tool to control / verify vectorization that you need -- one that is based on existing standards, supported by other compilers.<br>
<br>What do you think?<br></div><div><br></div>Andrey<br>========<br></div>Software Engineer<br>Intel<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jan 6, 2014 at 6:05 PM, Renato Golin <span dir="ltr"><<a href="mailto:renato.golin@linaro.org" target="_blank">renato.golin@linaro.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Folks,<div><br></div><div>I'm adding the pragma vectorize to Clang to print specific metadata on loops (later any lexical block), and I'm having some trouble identifying the steps.</div>
<div><br></div>
<div>I've added my pragma to ParsePragma, then added a vectorizer context to Sema to temporarily hold these values to be used on the next lexical block (one at a time, recent replace old, style).</div><div><br></div>
<div>
But the only way I found to add this information into the AST was via traits, which doesn't look correct. Can anyone point me in the right direction?</div><div><br></div><div>Who is the best person to review these changes?</div>
<div><br></div><div>cheers,</div><div>--renato</div></div>
<br>_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
<br></blockquote></div><br></div>