diff options
author | Quentin Colombet <qcolombet@apple.com> | 2015-07-20 21:42:14 +0000 |
---|---|---|
committer | Quentin Colombet <qcolombet@apple.com> | 2015-07-20 21:42:14 +0000 |
commit | 71a71485f40480ee28f257dfd38a29e859679342 (patch) | |
tree | 5c1dfc91ddc1817dfb0982daafaaad9884cd5aab /llvm/lib/Target/PowerPC/PPCMachineFunctionInfo.cpp | |
parent | 48a9bdc6aa0385f0773445b9561e12456983c8da (diff) | |
download | bcm5719-llvm-71a71485f40480ee28f257dfd38a29e859679342.tar.gz bcm5719-llvm-71a71485f40480ee28f257dfd38a29e859679342.zip |
[ARM] Refactor the prologue/epilogue emission to be more robust.
This is the first step toward supporting shrink-wrapping for this target.
The changes could be summarized by these items:
- Expand the tail-call return as part of the expand pseudo pass.
- Get rid of the assumptions that the epilogue is the exit block:
* Do not assume which registers are free in the epilogue. (This indirectly
improve the lowering of the code for the segmented stacks, see the test
cases.)
* Take into account that the basic block can be empty.
Related to <rdar://problem/20821730>
llvm-svn: 242714
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCMachineFunctionInfo.cpp')
0 files changed, 0 insertions, 0 deletions