<div dir="auto">Hi,<div dir="auto">Honestly a bit yes but now all should be fine :)</div><div dir="auto"><br></div><div dir="auto">Thanks</div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Dec 13, 2018, 15:39 David Greene <<a href="mailto:dag@cray.com">dag@cray.com</a> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">"Doerfert, Johannes Rudolf via llvm-dev" <<a href="mailto:llvm-dev@lists.llvm.org" target="_blank" rel="noreferrer">llvm-dev@lists.llvm.org</a>><br>
writes:<br>
<br>
> The LoadInst is %5. I'm not sure what you mean by reference though.<br>
<br>
This is a common misunderstanding, one that I think is encouraged by the<br>
textual form of IR.  "%5 = load" makes it looks like %5 is a destination<br>
operand in LoadInst.  LLVM IR looks like assembly and in (most) assembly<br>
syntax, destinations are instruction operands.<br>
<br>
Something like "%5 -> load" might have made things more clear, but of<br>
course it's too late for that.  :)<br>
<br>
                            -David<br>
</blockquote></div>