<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:hfinkel@anl.gov" title="Hal Finkel <hfinkel@anl.gov>"> <span class="fn">Hal Finkel</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - Assert in llvm::MachineRegisterInfo::clearVirtRegs: Vreg use list non-empty still"
href="http://llvm.org/bugs/show_bug.cgi?id=15787">bug 15787</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;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>INVALID
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - Assert in llvm::MachineRegisterInfo::clearVirtRegs: Vreg use list non-empty still"
href="http://llvm.org/bugs/show_bug.cgi?id=15787#c8">Comment # 8</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - Assert in llvm::MachineRegisterInfo::clearVirtRegs: Vreg use list non-empty still"
href="http://llvm.org/bugs/show_bug.cgi?id=15787">bug 15787</a>
from <span class="vcard"><a class="email" href="mailto:hfinkel@anl.gov" title="Hal Finkel <hfinkel@anl.gov>"> <span class="fn">Hal Finkel</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=15787#c7">comment #7</a>)
<span class="quote">> (In reply to <a href="show_bug.cgi?id=15787#c6">comment #6</a>)
> > I suspect the problems is here:
> >
> > SmallVector<std::pair<MachineOperand*, PPC::Predicate>, 4>
> > OperandsToUpdate;
> > SmallVector<std::pair<MachineOperand*, MachineOperand*>, 4>
> > OperandsToSwap;
> >
> > When you add operands to an MI, all operand pointers and references are
> > invalidated, just like a std::vector.
>
> Okay, thanks for looking at this! The OperandsToSwap array is going to go
> away shortly; so I'll retest with the new version.</span >
Yep; this was the problem. Thanks again!</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>