<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:Florian.Hahn@arm.com" title="Florian Hahn <Florian.Hahn@arm.com>"> <span class="fn">Florian Hahn</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - [NewGVN/PredicateInfo] Assertion `isa<X>(Val) && "cast<Ty>() argument of incompatible type!"' failed."
href="https://bugs.llvm.org/show_bug.cgi?id=34052">bug 34052</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>r337828
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>FIXED
</td>
</tr>
<tr>
<td style="text-align:right;">See Also</td>
<td>
</td>
<td>https://bugs.llvm.org/show_bug.cgi?id=38117
</td>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>Florian.Hahn@arm.com
</td>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - [NewGVN/PredicateInfo] Assertion `isa<X>(Val) && "cast<Ty>() argument of incompatible type!"' failed."
href="https://bugs.llvm.org/show_bug.cgi?id=34052#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - [NewGVN/PredicateInfo] Assertion `isa<X>(Val) && "cast<Ty>() argument of incompatible type!"' failed."
href="https://bugs.llvm.org/show_bug.cgi?id=34052">bug 34052</a>
from <span class="vcard"><a class="email" href="mailto:Florian.Hahn@arm.com" title="Florian Hahn <Florian.Hahn@arm.com>"> <span class="fn">Florian Hahn</span></a>
</span></b>
<pre>I've committed <a href="https://reviews.llvm.org/rL337828">https://reviews.llvm.org/rL337828</a> which makes PredicateInfo use
the pointer to the type in the mangled name and drops the ssa.copy declarations
when destroying PredicateInfo.
I explored several other ways to solve this problem, but generating IDs for
opaque types in a deterministic way that also works well with LTO seems quite
involved. See <a href="https://reviews.llvm.org/D48541">https://reviews.llvm.org/D48541</a> and PR38117.</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>