diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2018-08-02 17:42:12 +0000 | 
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2018-08-02 17:42:12 +0000 | 
| commit | 1c4688a8498fea1db507842ff8dedaacad8ef77b (patch) | |
| tree | e74f1bea0e682a4cd6d7edea69293ab7958eb9ae /contrib/llvm/lib/Target/PowerPC/PPCFrameLowering.cpp | |
| parent | 68dc77c284115e8f103290474b3b9e35a3906c53 (diff) | |
| parent | b7eb8e35e481a74962664b63dfb09483b200209a (diff) | |
Notes
Diffstat (limited to 'contrib/llvm/lib/Target/PowerPC/PPCFrameLowering.cpp')
| -rw-r--r-- | contrib/llvm/lib/Target/PowerPC/PPCFrameLowering.cpp | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/contrib/llvm/lib/Target/PowerPC/PPCFrameLowering.cpp b/contrib/llvm/lib/Target/PowerPC/PPCFrameLowering.cpp index f0000c5bafd7..84dacf396462 100644 --- a/contrib/llvm/lib/Target/PowerPC/PPCFrameLowering.cpp +++ b/contrib/llvm/lib/Target/PowerPC/PPCFrameLowering.cpp @@ -174,7 +174,7 @@ const PPCFrameLowering::SpillSlot *PPCFrameLowering::getCalleeSavedSpillSlots(        {PPC::V22, -160},        {PPC::V21, -176},        {PPC::V20, -192}, -   +        // SPE register save area (overlaps Vector save area).        {PPC::S31, -8},        {PPC::S30, -16}, @@ -1229,7 +1229,7 @@ void PPCFrameLowering::emitEpilogue(MachineFunction &MF,    if (MBBI != MBB.end())      dl = MBBI->getDebugLoc(); -   +    const PPCInstrInfo &TII = *Subtarget.getInstrInfo();    const PPCRegisterInfo *RegInfo = Subtarget.getRegisterInfo(); @@ -1315,7 +1315,7 @@ void PPCFrameLowering::emitEpilogue(MachineFunction &MF,    }    bool IsReturnBlock = (MBBI != MBB.end() && MBBI->isReturn()); -   +    if (IsReturnBlock) {      unsigned RetOpcode = MBBI->getOpcode();      bool UsesTCRet =  RetOpcode == PPC::TCRETURNri || | 
