aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-objcopy/llvm-objcopy.cpp
diff options
context:
space:
mode:
authorStefan Pintilie <stefanp@ca.ibm.com>2018-01-09 21:57:49 +0000
committerStefan Pintilie <stefanp@ca.ibm.com>2018-01-09 21:57:49 +0000
commit1712700842c03afcb9c3c758f95fa039f912ec02 (patch)
tree222860eb62ec863f4181b52c3e9bb27523416dc0 /llvm/tools/llvm-objcopy/llvm-objcopy.cpp
parent07657a8d7faf7cf255858485453ed1e5a1bdc5cd (diff)
downloadllvm-1712700842c03afcb9c3c758f95fa039f912ec02.zip
llvm-1712700842c03afcb9c3c758f95fa039f912ec02.tar.gz
llvm-1712700842c03afcb9c3c758f95fa039f912ec02.tar.bz2
[PowerPC] Manually schedule the prologue and epilogue
This patch makes the following changes to the schedule of instructions in the prologue and epilogue. The stack pointer update is moved down in the prologue so that the callee saves do not have to wait for the update to happen. Saving the lr is moved down in the prologue to hide the latency of the mflr. The stack pointer is moved up in the epilogue so that restoring of the lr can happen sooner. The mtlr is moved up in the epilogue so that it is away form the blr at the end of the epilogue. The latency of the mtlr can now be hidden by the loads of the callee saved registers. This commit is almost identical to this one: r322036 except that two warnings that broke build bots have been fixed. The revision number is D41737 as before. llvm-svn: 322124
Diffstat (limited to 'llvm/tools/llvm-objcopy/llvm-objcopy.cpp')
0 files changed, 0 insertions, 0 deletions