<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:nunoplopes@sapo.pt" title="Nuno Lopes <nunoplopes@sapo.pt>"> <span class="fn">Nuno Lopes</span></a>
</span> changed
<a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - Incorrect fold of uadd.with.overflow with undef"
href="https://bugs.llvm.org/show_bug.cgi?id=43188">bug 43188</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>RESOLVED
</td>
<td>REOPENED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>FIXED
</td>
<td>---
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - Incorrect fold of uadd.with.overflow with undef"
href="https://bugs.llvm.org/show_bug.cgi?id=43188#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - Incorrect fold of uadd.with.overflow with undef"
href="https://bugs.llvm.org/show_bug.cgi?id=43188">bug 43188</a>
from <span class="vcard"><a class="email" href="mailto:nunoplopes@sapo.pt" title="Nuno Lopes <nunoplopes@sapo.pt>"> <span class="fn">Nuno Lopes</span></a>
</span></b>
<pre>I've just added support for struct consts in Alive2, so we can verify these now
:)
We now get:
define {i8, i1} @uadd_undef() {
%0:
%t = uadd_overflow i8 142, undef
ret {i8, i1} %t
}
=>
define {i8, i1} @uadd_undef() {
%0:
ret {i8, i1} { undef, 0 }
}
This is still incorrect. It has to be { undef, 1 }. You cannot get, for
example, {0, 0} in the original program, while the optimized one can produce
that.</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>