| commit | a5c7ceedb58b28e4fa85ff323cade82edfa20fe4 | [log] [tgz] |
|---|---|---|
| author | Rafael Espindola <rafael.espindola@gmail.com> | Thu May 16 03:48:50 2013 +0000 |
| committer | Rafael Espindola <rafael.espindola@gmail.com> | Thu May 16 03:48:50 2013 +0000 |
| tree | a77a4de1d7a3c73928f82a0b8e69cb4d8eeed72f | |
| parent | 6e8c0d94f8c01f7ef9206a317cf9907ca631a7c4 [diff] |
Extend test for better coverage.
Without this change nothing was covering this addFrameMove:
// For 64-bit SVR4 when we have spilled CRs, the spill location
// is SP+8, not a frame-relative slot.
if (Subtarget.isSVR4ABI()
&& Subtarget.isPPC64()
&& (PPC::CR2 <= Reg && Reg <= PPC::CR4)) {
MachineLocation CSDst(PPC::X1, 8);
MachineLocation CSSrc(PPC::CR2);
MMI.addFrameMove(Label, CSDst, CSSrc);
continue;
}
llvm-svn: 181976