aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/IRObjectFile.cpp
diff options
context:
space:
mode:
authorUlrich Weigand <ulrich.weigand@de.ibm.com>2014-06-18 18:33:36 +0000
committerUlrich Weigand <ulrich.weigand@de.ibm.com>2014-06-18 18:33:36 +0000
commitf460d69ada1367a4877d2561b043c946c587f61e (patch)
tree12852b5b110a781eec625433314f41adc2b3063c /llvm/lib/Object/IRObjectFile.cpp
parentf9ba889c613a9c7399fac55f20de137c4b1fe904 (diff)
downloadllvm-f460d69ada1367a4877d2561b043c946c587f61e.zip
llvm-f460d69ada1367a4877d2561b043c946c587f61e.tar.gz
llvm-f460d69ada1367a4877d2561b043c946c587f61e.tar.bz2
[PowerPC] Remove unnecessary load of r12 in indirect call
When looking at the 64-bit SVR4 indirect call sequence, I noticed an unnecessary load of r12. And indeed the code says: // R12 must contain the address of an indirect callee. But this is not correct; in the 64-bit SVR4 (ELFv1) ABI, there is no need to load r12 at this point. It seems this code and comment is a remnant of code originally shared with the Darwin ABI ... This patch simply removes the unnecessary load. llvm-svn: 211203
Diffstat (limited to 'llvm/lib/Object/IRObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions