<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title></title>
</head>
<body>
<div name="messageBodySection">
<div dir="auto">Thank you for pointing that out Tim! I am going over the SetInstName function and about to edit the file to print out NumberedVals. I’ll also see if any of my modifications affect when LLVM starts a new block.</div>
</div>
<div name="messageSignatureSection"><br>
<div dir="auto">Regards,
<div dir="auto">Kaarthik.</div>
</div>
</div>
<div name="messageReplySection">On Jul 8, 2019, 3:39 PM -0400, Tim Northover <t.p.northover@gmail.com>, wrote:<br>
<blockquote type="cite" class="spark_quote" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #1abc9c;">
On Mon, 8 Jul 2019 at 20:32, Krzysztof Parzyszek <kparzysz@quicinc.com> wrote:<br>
<blockquote type="cite" class="spark_quote" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #e67e22;">
The problem is that there are some unnamed values in the listing, that are not explicitly printed. In reality you have<br>
</blockquote>
<br>
I don't think that works as a complete explanation, but it does<br>
strongly suggest another avenue to investigate: what if LLVM is<br>
starting a new basic block after every instruction for some reason?<br>
Then LLVM would think it had<br>
<br>
define i32 @main(i32 %, i8** %1) {<br>
%2:<br>
%3 = alloca i32, align 4<br>
%4:<br>
%5 = alloca i8**, align 8<br>
%6:<br>
...<br>
<br>
Watching NumberedVals would still reveal this (I think), but not<br>
SetInstName. And it would suggest looking at any extra code that might<br>
affect when LLVM starts a new block.<br>
<br>
Cheers.<br>
<br>
Tim.<br>
</blockquote>
</div>
</body>
</html>