<div class="gmail_quote">On Thu, Dec 1, 2011 at 9:52 AM, Chris Lattner <span dir="ltr"><<a href="mailto:clattner@apple.com">clattner@apple.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div style="word-wrap:break-word"><div><div class="h5"><br><div><div>On Dec 1, 2011, at 9:26 AM, Chandler Carruth wrote:</div><br><blockquote type="cite"><div class="gmail_quote">On Thu, Dec 1, 2011 at 9:08 AM, Chris Lattner <span dir="ltr"><<a href="mailto:clattner@apple.com" target="_blank">clattner@apple.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>The only part of this that I find unfortunate is that "llvm.clz" will end up inconsistently named with "llvm.ctpop".<br></div></blockquote></div><br><div>Is it worth renaming that to llvm.popcount? Other names? I'm happy to do more mechanical shuffling while here.</div>

</blockquote></div><br></div></div><div>I kinda liked the old names, but agree we have to change them.  If you're going to rename them, we might as well make them longer and more descriptive all around.  How about:</div>
<div><br></div><div>llvm.count.population</div><div>llvm.count.leading.zeros</div><div>llvm.count.trailing.zeros</div><div><br></div><div>or something like that?</div></div></blockquote><div><br></div><div>I'll wait patiently for the bikeshed to get painted. I have no opinion other than "clz" being easier to type. ;] </div>
</div>