<div dir="ltr">Thanks Serge! This means for every new intrinsic set, a systematic change should be made to LLVM to support the new intrinsic set, right? The change should include frontend change, IR instruction set change, as well as low level code generation changes?</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 9, 2018 at 12:39 AM, serge guelton via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="im HOEnZb">>     The vast majority of the time people will rely on source level pragmas [1],<br>
>     LLVM IR is designed to be machine friendly, not something intended for<br>
>     users to manually edit themselves. You can do it, but it’s tedious and<br>
>     error prone. If you need more control over the vectorisation than the<br>
>     pragmas allow, then the C intrinsics are the best choice.<br>
><br>
>     Amara<br>
><br>
</span><span class="im HOEnZb">>     [1] <a href="http://clang.llvm.org/docs/LanguageExtensions.html#" rel="noreferrer" target="_blank">http://clang.llvm.org/<wbr>docs/LanguageExtensions.html#</a><br>
>     extensions-for-loop-hint-<wbr>optimizations<br>
<br>
A large portion of user still use intrinsics too, as provided in<br>
avxintrin.h and the likes. They are then lowered to a single/few<br>
llvm instructions with vector operands.<br>
</span><div class="HOEnZb"><div class="h5">______________________________<wbr>_________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><span style="font-family:Arial;color:rgb(35,35,35);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">Sincerely,</span><div><span style="font-family:Arial;color:rgb(35,35,35);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">Linchuan</span></div></div></div>
</div>