Fix PR15332 (patch by Florian Zeitz).
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>
Tue, 26 Feb 2013 21:28:57 +0000 (21:28 +0000)
committerBill Schmidt <wschmidt@linux.vnet.ibm.com>
Tue, 26 Feb 2013 21:28:57 +0000 (21:28 +0000)
commit65396823305326bcb379e88a95ded318e1da875c
treedc9f94c2ce1e31ba6eb405eddd938ca391874d9f
parent7375f4f98148fc34f0c7fc765967501cdc65b24e
Fix PR15332 (patch by Florian Zeitz).

There's no need to generate a stack frame for PPC32 SVR4 when there are
no local variables assigned to the stack, i.e., when no red zone is needed.
(PPC64 supports a red zone, but PPC32 does not.)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176124 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCFrameLowering.cpp
test/CodeGen/PowerPC/svr4-redzone.ll [new file with mode: 0644]