<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:spatel+llvm@rotateright.com" title="Sanjay Patel <spatel+llvm@rotateright.com>"> <span class="fn">Sanjay Patel</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WORKSFORME - clang crashes at llvm/lib/IR/Constants.cpp:1981 Assertion `CastInst::castIsValid(opc, C, Ty) && "Invalid constantexpr cast!"' failed (under -O2 or -O3)"
href="https://bugs.llvm.org/show_bug.cgi?id=50368">bug 50368</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;">Resolution</td>
<td>---
</td>
<td>WORKSFORME
</td>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>CONFIRMED
</td>
<td>RESOLVED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WORKSFORME - clang crashes at llvm/lib/IR/Constants.cpp:1981 Assertion `CastInst::castIsValid(opc, C, Ty) && "Invalid constantexpr cast!"' failed (under -O2 or -O3)"
href="https://bugs.llvm.org/show_bug.cgi?id=50368#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WORKSFORME - clang crashes at llvm/lib/IR/Constants.cpp:1981 Assertion `CastInst::castIsValid(opc, C, Ty) && "Invalid constantexpr cast!"' failed (under -O2 or -O3)"
href="https://bugs.llvm.org/show_bug.cgi?id=50368">bug 50368</a>
from <span class="vcard"><a class="email" href="mailto:spatel+llvm@rotateright.com" title="Sanjay Patel <spatel+llvm@rotateright.com>"> <span class="fn">Sanjay Patel</span></a>
</span></b>
<pre>The crash is gone after:
<a href="https://reviews.llvm.org/rG6ae9893e">https://reviews.llvm.org/rG6ae9893e</a>
So I'm going to mark this resolved for now. I left a link/comment in <a class="bz_bug_link
bz_status_NEW "
title="NEW - clang crashes on valid code at -O3 on x86_64-linux-gnu"
href="show_bug.cgi?id=50354">bug 50354</a>,
so we can make sure the test here is good if that patch is retried.</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>