Evan Cheng ac096808a3 Re-apply r110655 with fixes. Epilogue must restore sp from fp if the function stack frame has a var-sized object.
Also added a test case to check for the added benefit of this patch: it's optimizing away the unnecessary restore of sp from fp for some non-leaf functions.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110707 91177308-0d34-0410-b5e6-96231b3b80d8
2010-08-10 19:30:19 +00:00
..
2010-05-05 21:07:46 +00:00
2010-04-17 16:29:15 +00:00
2009-11-01 18:13:29 +00:00
2009-10-31 22:20:56 +00:00
2009-11-22 15:35:28 +00:00
2009-11-22 15:35:28 +00:00
2009-11-16 20:04:15 +00:00