<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Improve 'collectDebugValues' algorithm."
href="https://bugs.llvm.org/show_bug.cgi?id=39140">39140</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Improve 'collectDebugValues' algorithm.
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>new bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>international.phantom@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>aprantl@apple.com, dblaikie@gmail.com, ftee@flametop.co.uk, greg.bedwell@sony.com, jeremy.morse.llvm@gmail.com, llvm-bugs@lists.llvm.org, paul.robinson@am.sony.com, vsk@apple.com, Wolfgang_Pieb@playstation.sony.com
</td>
</tr></table>
<p>
<div>
<pre>During the review of
<a href="https://reviews.llvm.org/D50887">https://reviews.llvm.org/D50887</a>
there were some discussion on the algorithm used by 'collectDebugValues':
<a href="https://reviews.llvm.org/D50887?id=161183#inline-448054">https://reviews.llvm.org/D50887?id=161183#inline-448054</a>
The idea was to use the list of USEs instead of linearily scanning through all
instructions.
<a href="https://reviews.llvm.org/D50887?id=161183#inline-448099">https://reviews.llvm.org/D50887?id=161183#inline-448099</a>
It was mentioned to use `MachineInstrIterator::use_instructions(Reg)`, with a
MRI object being available in the contexts where collecting debug values.</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>