<div dir="ltr">The prefix is set it based on directly name. <div>Altivec is another directory under Vector and has nothing to do with this change. Setting prefix to Altivec here would apply it to all files in Vector/ and subdirectories underneath which is probably not what you had in mind.</div><div><br></div><div>We could add Altivec prefix in Vector/Altivec/CMakeLists.txt which would set Altivec prefix for all tests in that directory.</div><div><br></div><div>--Artem</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 25, 2016 at 12:23 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">On 25 April 2016 at 19:42, Artem Belevich via llvm-commits<br>
<span class=""><<a href="mailto:llvm-commits@lists.llvm.org">llvm-commits@lists.llvm.org</a>> wrote:<br>
> +llvm_target_prefix("Vector")<br>
>  if(ARCH STREQUAL "PowerPC")<br>
>    llvm_add_subdirectories(Altivec)<br>
>  endif()<br>
><br>
</span><span class="">> +llvm_target_prefix("Vector-NEON")<br>
>  list(APPEND CFLAGS -std=c99)<br>
>  llvm_singlesource()<br>
<br>
</span>Nitpick, couldn't this be "Altivec" and "NEON", instead?<br>
<br>
"Vector" just seems too generic. :)<br>
<br>
cheers,<br>
--renato<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">--Artem Belevich</div></div>
</div>