<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:anton@samba.org" title="Anton Blanchard <anton@samba.org>"> <span class="fn">Anton Blanchard</span></a>
</span> changed
<a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - PowerPC64: fast isel creates bad constant"
href="https://llvm.org/bugs/show_bug.cgi?id=26356">bug 26356</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 --- - PowerPC64: fast isel creates bad constant"
href="https://llvm.org/bugs/show_bug.cgi?id=26356#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - PowerPC64: fast isel creates bad constant"
href="https://llvm.org/bugs/show_bug.cgi?id=26356">bug 26356</a>
from <span class="vcard"><a class="email" href="mailto:anton@samba.org" title="Anton Blanchard <anton@samba.org>"> <span class="fn">Anton Blanchard</span></a>
</span></b>
<pre>Thanks Eric, Nemanja. I think we still have an issue in PPCMaterializeInt:
target datalayout = "e-m:e-i64:64-n32:64"
target triple = "powerpc64le-unknown-linux-gnu"
; Function Attrs: nounwind
define internal i32 @foo() #0 {
ret i32 32768
}
# llc -O1 testcase.ll
...
foo:
li 3, 0
ori 3, 3, 32768
blr
# llc -O1 -fast-isel testcase.ll
...
foo:
li 3, -32768
blr</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>