<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:davide@freebsd.org" title="Davide Italiano <davide@freebsd.org>"> <span class="fn">Davide Italiano</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - tryToUnrollLoop() ... Assertion `Idx >= 0 && "Invalid basic block argument!"' failed"
href="https://bugs.llvm.org/show_bug.cgi?id=33437">bug 33437</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>FIXED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - tryToUnrollLoop() ... Assertion `Idx >= 0 && "Invalid basic block argument!"' failed"
href="https://bugs.llvm.org/show_bug.cgi?id=33437#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - tryToUnrollLoop() ... Assertion `Idx >= 0 && "Invalid basic block argument!"' failed"
href="https://bugs.llvm.org/show_bug.cgi?id=33437">bug 33437</a>
from <span class="vcard"><a class="email" href="mailto:davide@freebsd.org" title="Davide Italiano <davide@freebsd.org>"> <span class="fn">Davide Italiano</span></a>
</span></b>
<pre>Fixed by:
commit 08774d7daf8b21b0e673af169b72d5b9c23e246f
Author: davide <davide@91177308-0d34-0410-b5e6-96231b3b80d8>
Date: Mon Aug 28 20:29:33 2017 +0000
[LoopUnroll] Properly update loop structure in case of successful peeling.
When peeling kicks in, it updates the loop preheader.
Later, a successful full unroll of the loop needs to update a PHI
which i-th argument comes from the loop preheader, so it'd better look
at the correct block. Fixes PR33437.
Differential Revision: <a href="https://reviews.llvm.org/D37153">https://reviews.llvm.org/D37153</a>
git-svn-id: <a href="https://llvm.org/svn/llvm-project/llvm/trunk@311922">https://llvm.org/svn/llvm-project/llvm/trunk@311922</a>
91177308-0d34-0410-b5e6-96231b3b80d8</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>