<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:hfinkel@anl.gov" title="Hal Finkel <hfinkel@anl.gov>"> <span class="fn">Hal Finkel</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - PowerPC - bug in generation of @ha/@l pair for symbol+addend"
href="https://llvm.org/bugs/show_bug.cgi?id=28727">bug 28727</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>NEW
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>FIXED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - PowerPC - bug in generation of @ha/@l pair for symbol+addend"
href="https://llvm.org/bugs/show_bug.cgi?id=28727#c10">Comment # 10</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - PowerPC - bug in generation of @ha/@l pair for symbol+addend"
href="https://llvm.org/bugs/show_bug.cgi?id=28727">bug 28727</a>
from <span class="vcard"><a class="email" href="mailto:hfinkel@anl.gov" title="Hal Finkel <hfinkel@anl.gov>"> <span class="fn">Hal Finkel</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=28727#c9">comment #9</a>)
<span class="quote">> Thanks for digging up the change, Hal. Your comment sounds correct. In fact,
>
> + if (GlobalAddressSDNode *GA = dyn_cast<GlobalAddressSDNode>(ImmOpnd)) {
> + const GlobalValue *GV = GA->getGlobal();
> + MaxDisplacement = GV->getAlignment() - 1;
> + }
>
> looks suspect. MaxDisplacement can only be 7 or less otherwise the TOC bits
> can potentially (and do in our failure) carry into the 32K displacement.</span >
r280441 should fix this. Thanks again for helping to figure this out!</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>