<div dir="ltr">Thanks.  I am submitting a tiny patch to correct the Language Reference in a second.<div><br></div><div><br></div><div>-- Mikael</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/11/27 Tom Stellard <span dir="ltr"><<a href="mailto:tom@stellard.net" target="_blank">tom@stellard.net</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Wed, Nov 27, 2013 at 02:02:53AM +0100, Mikael Lyngvig wrote:<br>
> The language reference states that local temporaries begin with index 0,<br>
> but if I try that on my not-entirely-up-to-date v3.4 llc (it is like a week<br>
> old), I get an error "instruction expected to be numbered '%1'".<br>
><br>
<br>
If you don't label the entry block, then you will get this error.  I<br>
think it would be worth mentioning this in the language reference, it took me a<br>
while to figure it out.<br>
<br>
-Tom<br>
<br>
> Also, quite a few examples in the LR uses %0 as a local identifier.<br>
><br>
> Should I fix those or is it a problem in llc?<br>
><br>
><br>
> -- Mikael<br>
<br>
> _______________________________________________<br>
> LLVM Developers mailing list<br>
> <a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
<br>
</blockquote></div><br></div>