Skip to content
Commit 3f251fb2 authored by Evan Cheng's avatar Evan Cheng
Browse files

Re-apply r110655 with fixes. Epilogue must restore sp from fp if the function...

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.

llvm-svn: 110707
parent a5c7d706
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment