diff options
| author | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2014-06-18 18:33:36 +0000 |
|---|---|---|
| committer | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2014-06-18 18:33:36 +0000 |
| commit | ffbd906558a6bb927ba81570491472393ee7ebac (patch) | |
| tree | 11dfc15e21fd5f365d45c5d6e66889be7e79edad /lib/Bitcode/Reader | |
| parent | 75b56dc6fe8c8e17ba37683c158dcb63abcd9056 (diff) | |
| download | llvm-ffbd906558a6bb927ba81570491472393ee7ebac.tar.gz llvm-ffbd906558a6bb927ba81570491472393ee7ebac.tar.bz2 llvm-ffbd906558a6bb927ba81570491472393ee7ebac.tar.xz | |
[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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211203 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Reader')
0 files changed, 0 insertions, 0 deletions
