<html>
<head>
<base href="http://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 - bad asm emitted for powerpc-darwin8"
href="http://llvm.org/bugs/show_bug.cgi?id=15605">bug 15605</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 - bad asm emitted for powerpc-darwin8"
href="http://llvm.org/bugs/show_bug.cgi?id=15605#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - bad asm emitted for powerpc-darwin8"
href="http://llvm.org/bugs/show_bug.cgi?id=15605">bug 15605</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=15605#c4">comment #4</a>)
<span class="quote">> (In reply to <a href="show_bug.cgi?id=15605#c3">comment #3</a>)
> > (In reply to <a href="show_bug.cgi?id=15605#c2">comment #2</a>)
> > > I tried your suggestion:
> > >
> > > diff --git a/lib/Target/PowerPC/PPCRegisterInfo.td
> > > b/lib/Target/PowerPC/PPCRegisterInfo.td
> > > index 55d36bb..101f5fe 100644
> > > --- a/lib/Target/PowerPC/PPCRegisterInfo.td
> > > +++ b/lib/Target/PowerPC/PPCRegisterInfo.td
> > > @@ -87,7 +87,7 @@ foreach Index = 0-31 in {
> > > }
> > >
> > > // The reprsentation of r0 when treated as the constant 0.
> > > -def ZERO : GPR<0, "r0">;
> > > +def ZERO : GPR<0, "0">;
> > > def ZERO8 : GP8<ZERO, "r0">;
> > >
> > > // Representations of the frame pointer used by ISD::FRAMEADDR.
> > >
> > >
> > > and it seems to have worked, the previous test case now compiles.
> > > Will that change possibly hurt any other PPC platform?
> >
> > No, I think that all platforms should be fine with this.
>
> We can make the change for ZERO and ZERO8. I'll try to do this today for you.</span >
Should be fixed in r178142.</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>