Extend test for better coverage.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 16 May 2013 03:48:50 +0000 (03:48 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 16 May 2013 03:48:50 +0000 (03:48 +0000)
commit0225d5a3aff17fe6e747821973aa4dc0b8f6d6a9
treeed602786529ef8f2b7c4ff8584e3df6dd5586e13
parentec7f4231cb7c26d5f52375617a9a73a1e79f3857
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;
}

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181976 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGen/PowerPC/crsave.ll