<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:vsk@apple.com" title="Vedant Kumar <vsk@apple.com>"> <span class="fn">Vedant Kumar</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Wrong variable value shown during debugging at Og"
href="https://bugs.llvm.org/show_bug.cgi?id=45923">bug 45923</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Fixed By Commit(s)</td>
<td>
</td>
<td>623b2542446a1873fb7ea3904c4fb50e2e77fe41
</td>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>CONFIRMED
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>FIXED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Wrong variable value shown during debugging at Og"
href="https://bugs.llvm.org/show_bug.cgi?id=45923#c7">Comment # 7</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Wrong variable value shown during debugging at Og"
href="https://bugs.llvm.org/show_bug.cgi?id=45923">bug 45923</a>
from <span class="vcard"><a class="email" href="mailto:vsk@apple.com" title="Vedant Kumar <vsk@apple.com>"> <span class="fn">Vedant Kumar</span></a>
</span></b>
<pre>With 623b2542446a1873fb7ea3904c4fb50e2e77fe41, in the output from `llc a.ll
-stop-after=finalize-isel -o -`, I see:
```
MOV32mi $rip, 1, $noreg, @e, $noreg, 8, debug-location !32 :: (store 4 into
@e, !tbaa !33)
DBG_VALUE 1, $noreg, !31, !DIExpression(), debug-location !37
```
What I think happened is that SelectionDAG placed the (signed) Value from the
salvaged into a constant SDDbgValue node. Later when it reconstructed the
DBG_VALUE MI for this node, I'd expect it to appear as "DBG_VALUE -1".</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>