<br><br><div class="gmail_quote">On 15 June 2011 10:23, Dan Gohman <span dir="ltr"><<a href="mailto:gohman@apple.com">gohman@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 class="im"><br>
On Jun 14, 2011, at 11:37 PM, Nick Lewycky wrote:<br>
<br>
> Author: nicholas<br>
> Date: Wed Jun 15 01:37:58 2011<br>
> New Revision: 133050<br>
><br>
> URL: <a href="http://llvm.org/viewvc/llvm-project?rev=133050&view=rev" target="_blank">http://llvm.org/viewvc/llvm-project?rev=133050&view=rev</a><br>
> Log:<br>
> Teach the .ll parser to handle named metadata with non-simple names.<br>
> Unfortunately we can't follow what the rest of the language does (wrapping it<br>
> in double-quotes) because that would cause an ambiguity with metadata strings,<br>
> so instead we escape any unusual characters with \xx escaping.<br>
<br>
</div>Named metadata names can never appear in the same context as metadata<br>
strings, so so it actually wouldn't be strictly ambiguous.  I don't know if that's<br>
worth pursuing though.  May I ask what you're doing that needs<br>
non-simply-named named metadata?<br></blockquote><div><br></div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div><a href="http://android-developers.blogspot.com/2011/02/introducing-renderscript.html">http://android-developers.blogspot.com/2011/02/introducing-renderscript.html</a></div>

<div><br></div><div>The renderscript developers decided to prefix their metadata with # signs, which they didn't have to, but now that the product is shipping I don't think that will be changing.</div><div><br></div>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Either way, please add a testcase.<br></blockquote><div><br></div><div>Thanks for the reminder, I'll do that late tonight / early tomorrow.</div>

<div><br></div><div>Nick</div><div><br></div></div><br>