<div dir="ltr">Names are optional and have overhead - we usually try not to emit names (Clang produces IR with names in an Asserts build, but otherwise it omits them - there's not as much of that logic in the LLVM optimizers, so even starting with a non-Asserts Clang output you'll still find the optimizers introduce names for instructions)<br><br>At some point we would want to try to more fully remove the construction of named instructions in the IR in non-Asserts builds across the stack, it's just overhead we want to avoid in production execution.</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 12, 2016 at 7:00 AM, Carlos Alba 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"><div dir="ltr"><div><div><div>Hi everyone,<br><br></div>Some instructions in llvm have names and for some of them the name is empty. Now, I wanted to know which instructions have names? <br><br></div>Best,<br></div>Carlo<br></div>
<br>_______________________________________________<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/mailman/listinfo/llvm-dev</a><br>
<br></blockquote></div><br></div>