llvm.org GIT mirror llvm / c3deb51
Merging r143290: ------------------------------------------------------------------------ r143290 | d0k | 2011-10-29 12:43:38 -0700 (Sat, 29 Oct 2011) | 3 lines PPC: Disable moves for all CR subregisters. Should fix assertion failures on ppc buildbots. ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_30@143451 91177308-0d34-0410-b5e6-96231b3b80d8 Bill Wendling 7 years ago
1 changed file(s) with 1 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
489489
490490 // This is a bit of a hack: CR2LT, CR2GT, CR2EQ and CR2UN are just
491491 // subregisters of CR2. We just need to emit a move of CR2.
492 if (Reg == PPC::CR2LT || Reg == PPC::CR2GT || Reg == PPC::CR2EQ)
492 if (PPC::CRBITRCRegisterClass->contains(Reg))
493493 continue;
494 if (Reg == PPC::CR2UN)
495 Reg = PPC::CR2;
496494
497495 MachineLocation CSDst(MachineLocation::VirtualFP, Offset);
498496 MachineLocation CSSrc(Reg);