<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 - Wrong code bug in ipsccp"
href="https://bugs.llvm.org/show_bug.cgi?id=31897">bug 31897</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>FIXED
</td>
</tr>
<tr>
<td style="text-align:right;">Fixed By Commit(s)</td>
<td>
</td>
<td>r337507
</td>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>efriedma@codeaurora.org, 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 - Wrong code bug in ipsccp"
href="https://bugs.llvm.org/show_bug.cgi?id=31897#c8">Comment # 8</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Wrong code bug in ipsccp"
href="https://bugs.llvm.org/show_bug.cgi?id=31897">bug 31897</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>The test case now produces, with the return value of foo properly propagated to
the store. <a href="https://reviews.llvm.org/rL337507">https://reviews.llvm.org/rL337507</a> fixed a set of issues related to
markForcedConstant on undef branch values, including call return value
inference.
source_filename = "test.ll"
%rec = type { i32 }
@g1 = global %rec zeroinitializer
@g2 = global %rec* null
define internal %rec* @foo(%rec %par) {
br i1 false, label %bar, label %bar
bar: ; preds = %0, %0
ret %rec* undef
}
define void @gaz() {
%1 = call %rec* @foo(%rec undef)
store %rec* @g1, %rec** @g2
ret void
}</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>