Fully fix Bug #22115.
authorJustin Hibbits <jrh29@alumni.cwru.edu>
Sat, 10 Jan 2015 01:57:21 +0000 (01:57 +0000)
committerJustin Hibbits <jrh29@alumni.cwru.edu>
Sat, 10 Jan 2015 01:57:21 +0000 (01:57 +0000)
commit654346e6f9a85a297db50bfa4867b4114e6f7228
treee0a651bb34103460c4f74ad7e83d7ecb5f88a05f
parentad6b82dd5317fb329627eab6ea018bc34b6f65c4
Fully fix Bug #22115.

Summary:
In the previous commit, the register was saved, but space was not allocated.
This resulted in the parameter save area potentially clobbering r30, leading to
nasty results.

Test Plan: Tests updated

Reviewers: hfinkel

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D6906

llvm-svn: 225573
llvm/lib/Target/PowerPC/PPCFrameLowering.cpp
llvm/lib/Target/PowerPC/PPCMachineFunctionInfo.h
llvm/test/CodeGen/PowerPC/ppc32-pic-large.ll
llvm/test/CodeGen/PowerPC/ppc32-pic.ll