http://llvm.org/bugs/show_bug.cgi?id=15605
Hal Finkel <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #5 from Hal Finkel <[email protected]> --- (In reply to comment #4) > (In reply to comment #3) > > (In reply to comment #2) > > > 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. Should be fixed in r178142. -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ LLVMbugs mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs
